NYCPHP Meetup

NYPHP.org

[nycphp-talk] Preg_match email address

Jeff jsiegel1 at optonline.net
Mon Sep 15 10:55:41 EDT 2003


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




More information about the talk mailing list