Re: What's a good regex to validate an email address? ;)
| From: | CPT John W. Holmes | Date: | Fri, 17 Oct 2003 19:47:42 +0000 |
| Subject: | Re: What's a good regex to validate an email address? ;) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-166536@lists.php.net to get a copy of this message | ||
From: "Jeremy Russell" <Jeremy.Russell@chickasaw.net>
> Will get nearly everything that resembles an email address.
Holy crap, batman... did you even read the original message?
---John Holmes...
> > -----Original Message-----
> > From: John W. Holmes [mailto:holmes072000@charter.net]
> > Sent: Wednesday, October 15, 2003 9:29 PM
> > To: php list
> > Subject: [PHP] What's a good regex to validate an email address? ;)
> >
> > Heh... I was adding a note to the PHP Manual and I thought it
> > was really
> > funny they had to include this note in the "rules":
> >
> > (And if you're posting an example of validating email addresses,
> > please don't bother. Your example is almost certainly wrong for some
> > small subset of cases. See this information from O'Reilly Mastering
> > Regular Expressions book for the gory details.)
> >
> > lol...