Displaying page
of
pages;
Items to
|
Title |
Test
Details
Pattern Title
|
|
Expression |
^[\w-]+(\.[\w-]+)*@([a-z0-9-]+(\.[a-z0-9-]+)*?\.[a-z]{2,6}|(\d{1,3}\.){3}\d{1,3})(:\d{4})?$
|
|
Description |
Matches a valid email address including ip's which are rarely used. Allows for a-z0-9_.- in the username, but not ending in a full stop i.e user.@domain.com is invalid and a-z0-9- as the optional sub domain(s) with domain name and a 2-7 char (a-z) tld allowing for short tld's like ca and new ones like museum.
|
|
Matches |
username@domain.com | u-s_e.r1@s-ub2.domain-name.museum:8080 | user_name@123.123.123.12
|
|
Non-Matches |
user@domain | user@domain.c | user.@domain.com
|
|
Author |
Rating:
Not yet rated.
nick bennett
|
Displaying page
of
pages;
Items to