eregi
| From: | Tim Ballantine | Date: | Mon, 01 Oct 2001 22:22:17 +0000 |
| Subject: | eregi | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-69497@lists.php.net to get a copy of this message | ||
Hello,
Could anyone tell me how to eregi a word, to see if it only contains either
numbers, letters, the "_" and the "-", so that any other symbol with call it
invalid. For example, theres the word "expressio_n" that will be valid, but
the word "express%^$-n" will be invalid.
Thankyou,
Tim