Re: What's a good regex to validate an email address? ;)
| From: | CPT John W. Holmes | Date: | Fri, 17 Oct 2003 19:51:25 +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-166540@lists.php.net to get a copy of this message | ||
From: "Daevid Vincent" <daevid@daevid.com>
> Not PHP, but in js, I use this:
Dude... read the messages before you reply. you know, the whole "think
before you say" thing?? ;)
---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..