Title |
Test
Find
Single Email Match - current June 2010
|
Expression |
^[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\.)+(?:[a-zA-Z]{2}|aero|asia|biz|cat|com|coop|edu|gov|info|int|jobs|mil|mobi|museum|name|net|org|pro|tel|travel)$ |
Description |
Matches email addresses. Based on expression at regular-expressions.info/email.html modified to include all top-level domains (TLD)listed on wikipedia as of June 2010. Needs to be updated as new TLDs are added.
Known Issues:
* IP Addresses will not validate
* Double "at" symbols, e.g. email@[email protected] slip by this regex. Would welcome improvements by a regex ninja. |
Matches |
|
Non-Matches |
|
Author |
Rating:
Brent Thomas
|
Source |
http://www.regular-expressions.info/email.html | http://en.wikipedia.org/wiki/List_of_Internet_top-level_domains |
Your Rating |
|