Re: Favorite Email validation routine?
| From: | Manuel Lemos | Date: | Mon, 13 Jan 2003 05:29:47 +0000 |
| Subject: | Re: Favorite Email validation routine? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-131391@lists.php.net to get a copy of this message | ||
Hello,
On 01/13/2003 03:21 AM, Peter Janett wrote:
I'm looking for everyone's favorite email syntax validation routine. Code that takes an email address and does regex on it to determine if it's formatted correctly. I know there are some on phpclasses.org that actually check the mx record and server of the domain, but I'm just looking for a good, clean and fast email address syntax check. So, what is your favorite bit of code to do that?This class that I don't know if you seen also comes with complex regex for simple e-mail address validation: http://www.phpclasses.org/emailvalidation -- Regards, Manuel Lemos