Wednesday, June 2, 2010

Email Reg exp

A simple email regexp

This isnt perfect ie % are valid and urls can now.

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

No comments:

Post a Comment