Possible Duplicate:
Is there a php library for email address validation?
Hi there, I was just wondering if any of you use a particular public script or set of functions for dealing with email validation in PHP. The built-in PHP function isn't really anything to brag about.
Thanks for your time.
I use to validate with cakephp function which can be found here
The regexp is this one:
'^[a-z0-9!#$%&*+/=?^_`{|}~-]+(?:.[a-z0-9!#$%&*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?.)+(?:[a-z]{2,4}|museum|travel)$'
and can be found here
精彩评论