RegExp Problem
| From: | Mukul Sabharwal | Date: | Wed, 18 Oct 2000 08:18:16 +0000 |
| Subject: | RegExp Problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-20836@lists.php.net to get a copy of this message | ||
Hi,
I want to do the following :
a variable with the following values to be accepted
...
if $variable contains
(1) numbers
(2) underscores
(3) letters
to be approved and anything else to be disapproved..
how do i do this....
I would like to use pcre for this (preferably) but
ereg would also do....
thanks...
__________________________________________________
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf! It's FREE.
http://im.yahoo.com/