[nycphp-talk] Preg_match email address
Chris Snyder
csnyder at chxo.com
Mon Sep 15 11:40:38 EDT 2003
And let's not forget good old .museum weighing in at 7 culture-packed
letters.
Peter Lehrer wrote:
>I would go with {2,4} at the end of your expression because there are some
>domains like .info that have 4 characters.
>
>Peter Lehrer
>----- Original Message -----
>From: "Jeff" <jsiegel1 at optonline.net>
>To: "'NYPHP Talk'" <talk at lists.nyphp.org>
>Sent: Monday, September 15, 2003 10:55 AM
>Subject: [nycphp-talk] Preg_match email address
>
>
>
>
>>I'm hoping those who are more adept at regular expressions could tell me
>>if this will validate the majority of email addresses...it seems like it
>>will but...
>>
>>'/^[ a-z0-9-_]+(.[
>>a-z0-9-_]+)*@[a-z0-9-]+(.[a-z0-9-_]+)*(.[a-z]{2,3})$/i',
>>
>>Thanks,
>>
>>Jeff Siegel
>>
>>_______________________________________________
>>talk mailing list
>>talk at lists.nyphp.org
>>http://lists.nyphp.org/mailman/listinfo/talk
>>
>>
>>
>
>_______________________________________________
>talk mailing list
>talk at lists.nyphp.org
>http://lists.nyphp.org/mailman/listinfo/talk
>
>
More information about the talk
mailing list