Regular expression problems
| From: | Dan Watt | Date: | Mon, 26 Feb 2001 05:39:18 +0000 |
| Subject: | Regular expression problems | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-41640@lists.php.net to get a copy of this message | ||
Im trying to build a user login system, and when there is a new user, I need
to validate that they are usign using word characters ([0-9A-Za-z_] or
\w)... I have TRIED MANY different regular expressions to test this, but
none work. This seems so simple but I am missing something. I need a
expression that returs true ONLY if ALL the characters match \w .... Any
help would be appreciated.