Code:
on *:TEXT:*:#:{
  echo -s $1-
  echo -s $replace($rawmsg,$chr(32),+) / $replace($1-,$chr(32),+)
}

This shows that using $1- strips out leading/trailing/extra spaces, so your regex never had a chance.