/* Check if username is not valid */
else if(!eregi("/[^a-z0-9\s\' ']/i", $subuser)){
$form->setError($field, "* Username not valid");
}
How to I allow for spaces to be allowed in the eregi line??
On a sidenote... I was going to use:
$input_name = preg_replace('/\s\s+/', ' ', $input_name)
to strip excess white space, can this be done in a one liner using eregi?