Title: doesn't match valid emails with one letter before @
Date: 7/4/2007 6:59:59 PM
needs to be changed to
(?<email>[a-zA-Z][a-zA-Z0-9-_.]*\@ (pay attention to * at the end)
if not, doesn't match a valid email: firstname.lastname@example.org (or any with one letter before @ )
Title: Fails on valid email addresses
Name: Randal L. Schwartz
Date: 11/22/2005 9:43:18 AM
This fails on email@example.com, which is a valid email address.
PLEASE STOP USING REGEX to validate email, unless you understand RFC822.
The minimum regex to validate email is at http://www.ex-parrot.com/~pdw/Mail-RFC822-Address.html