Title |
Test
Find
Pattern Title
|
Expression |
^[^_][a-zA-Z0-9_]+[^_]@{1}[a-z]+[.]{1}(([a-z]{2,3})|([a-z]{2,3}[.]{1}[a-z]{2,3}))$ |
Description |
this pattern validates email address. it allows (1)numeric characters and underscore(_) in an address.(2)numeric characters in domain name. it doesn't match user names with a dot(.). doesn;t allow username starting or ending with @ underscore. they can be used in between |
Matches |
|
Non-Matches |
|
Author |
Rating:
Not yet rated.
Vijay Joshi
|
Source |
[email protected] |
Your Rating |
|
Title: WRONG WRONG WRONG AGAIN
Name: Randal L. Schwartz
Date: 3/18/2006 12:43:34 PM
Comment:
Please, moderators! For the love of humanity! Remove anything volunteering to "match an email address" and block the site software so it doesn't allow those to be submitted!
As always, this so-called "email matcher" fails in the traditional ways... it matches what the author has "seen", and doesn't bother paying attention to WHAT IS LEGAL IN AN EMAIL ADDRESS.
Therefore, it is useless. If you use a regex like this, you will UPSET YOUR USER BASE and they will take their business elsewhere.