note 15457 added to ref.regex
| From: | sascha dot schuermann at web dot de | Date: | Tue, 11 Sep 2001 20:15:44 +0000 |
| Subject: | note 15457 added to ref.regex | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-17921@lists.php.net to get a copy of this message | ||
hi @ll!
check out my eMail-validation:
eregi ("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.([a-z]{2,3}))?$",$eMail)
I think it validates only regular eMail-adresses.
If not, don´t be shy and post your annotation or correction.
tia
sascha
http://www.php.net/manual/de/ref.regex.php