Re: email validation regex
| From: | Robert Paul | Date: | Sat, 17 Sep 2005 02:13:29 +0000 |
| Subject: | Re: email validation regex | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-222565@lists.php.net to get a copy of this message | ||
http://www.iamcal.com/publish/articles/php/parsing_email/
The author goes through RFC822 in detail and writes up a regex that validates emails based on that. It's worked in my experience, but I havn't exactly put it through its paces.
--Rob
bruce wrote:
hi.. looking for a good/working/tested php email validation regex that conforms to the rfc2822 standard. a lot of what i've seen from google breaks, or doesn't follow the standard! any ideas/thoughts/sample code/etc... thanks -bruce bedouglas@earthlink.net