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? Thanks, Peter Janett -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php