Displaying page
of
pages;
Items to
Title |
Test
Details
Email pattern regular expression
|
Expression |
^((([a-z0-9])+([\w.-]{1})?)+([^\W_]{1}))+@((([a-z0-9])+([\w-]{1})?)+([^\W_]{1}))+\.[a-z]{2,3}(\.[a-z]{2,4})?$
|
Description |
A simple email checking regex . Works with all regular email addresses . Allows only 'a-z' '-' '_' and '.' to be included withing the user name which must to be started and teminated with 'a-z' and could not have any symbol sequence (like '-_' '._') in it's body .
Must have at least 1 and max 2 sub-domains and 1 TLD (2-4 letters long a must).
Use tolower() before this regex or just add A-Z or ?i flag within the pattern in order to match both cases .
Please see the examples .
|
Matches |
|
Non-Matches |
|
Author |
Rating:
Not yet rated.
arturo
|
Displaying page
of
pages;
Items to