note 90841 deleted from function.ereg by danbrown
| From: | danbrown@php.net | Date: | Tue, 12 May 2009 14:44:58 +0000 |
| Subject: | note 90841 deleted from function.ereg by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-154509@lists.php.net to get a copy of this message | ||
Note Submitter: Anonymous
----
'^[A-Za-z0-9\.\_\-]+[@]{1}
[A-Za-z0-9\.\_\-]+([.]{1}[a-zA-Z0-9]{2,5}){1,2}$'
would be a better regular expression for email. * quantifiers will accept an invalid address.