NYCPHP Meetup

NYPHP.org

[nycphp-talk] Validating Email Addresses

Daniel Convissor danielc at analysisandsolutions.com
Thu Dec 2 11:45:35 EST 2004


Folks:

On Thu, Dec 02, 2004 at 11:19:23AM -0500, James B. Wetterau Jr. wrote:
> 
> http://www.ex-parrot.com/~pdw/Mail-RFC822-Address.html

I feel that regex is way overblown.  Here's my ereg pattern:

'^[a-z0-9_.=+-]+@([a-z0-9-]+\.)+([a-z]{2,6})$'

--Dan

-- 
 T H E   A N A L Y S I S   A N D   S O L U T I O N S   C O M P A N Y
            data intensive web and database programming
                http://www.AnalysisAndSolutions.com/
 4015 7th Ave #4, Brooklyn NY 11232  v: 718-854-0335 f: 718-854-0409



More information about the talk mailing list