note 17173 added to function.preg-match
| From: | georgeliu at gameaz dot com | Date: | Wed, 28 Nov 2001 17:06:35 +0000 |
| Subject: | note 17173 added to function.preg-match | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-21386@lists.php.net to get a copy of this message | ||
For checking a valid email address:
preg_match("/^\w{3,}@\w{3,}\.\w{2,}$/",$email);
--
http://www.php.net/manual/en/function.preg-match.php
http://master.php.net/manage/user-notes.php?action=edit+17173
http://master.php.net/manage/user-notes.php?action=delete+17173
http://master.php.net/manage/user-notes.php?action=reject+17173