Jump to content

bobleny

Members
  • Posts

    429
  • Joined

  • Last visited

    Never

Everything posted by bobleny

  1. 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!
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.