Title |
Test
Find
Pattern Title
|
Expression |
^([\w\-\.]+)@((\[([0-9]{1,3}\.){3}[0-9]{1,3}\])|(([\w\-]+\.)+)([a-zA-Z]{2,4}))$ |
Description |
Expression 1 of 2 used to check email address syntax. |
Matches |
|
Non-Matches |
|
Author |
Rating:
David Lott
|
Source |
http://netusi.com/regexp.htm |
Your Rating |
|
Title: Review
Name: Welington
Date: 2/16/2015 8:14:52 AM
Comment:
Don't works with [email protected] or
[email protected]
Title: Review
Name: Welington
Date: 2/16/2015 7:37:47 AM
Comment:
Don't works with [email protected] or
[email protected]
Title: Review
Name: Welington
Date: 2/16/2015 7:37:14 AM
Comment:
Don't works with [email protected] or
[email protected]
Title: 1
Name: 12
Date: 5/30/2008 1:17:32 PM
Comment:
444
Title: Fails to match valid email address
Name: The Fred and Barney Comedy Team <fred&[email protected]>
Date: 1/26/2005 3:19:11 AM
Comment:
Fails to match the valid email address
fred&[email protected]
Title: hmm
Name: klatte
Date: 3/14/2004 6:57:10 PM
Comment:
[email protected] works
Title: only it doesn't work
Name: pinetree
Date: 6/16/2003 3:56:44 PM
Comment:
Except that per RFC 822 (http://www.w3.org/Protocols/rfc822/Overview.html), the following email addresses are valid but would be trapped as invalid by this code. Specifically, look at Appendix A (http://www.w3.org/Protocols/rfc822/Overview.html#z10), section A.3.3.<br><br>
"Some Silly User"@example.com<br>
Another'[email protected]<br>
Yet/Another/Wacky/[email protected]