Everything posted by bobleny
This may sound stupid, but how do get preg_match to look for spaces as well? This is what I have: preg_match("/[^a-zA-Z0-9_]+/", $str) if $str equals "you_foo", preg_match proves false, thats good. if $str equals "you foo", preg_match proves true, thats bad. How do i get it to accept spaces? Thanks!