Hi,
I am trying to write a regular expression that strips multiple spaces and replaces them for a single space: "my search word" would become "my search word".
Thank you in advance. Shaun
$vText = preg_replace("/ +/", " ", $vText);