Displaying page
of
pages;
Items to
Title |
Test
Details
US Phone
|
Expression |
^(1|1(\s|\s?-\s?|\s?\.\s?|\s?/\s?))?((\(?[2-9]{1}[\d]{2}\)?(\s|\s?-\s?|\s?\.\s?|\s?/\s?)?))?(\d{3})(\s|\s?-\s?|\s?\.\s?|\s?/\s?)?(\d{4})$
|
Description |
USA Phone number with dash, periods, slashes, spaces, () and only last 7 digit is required but everything else is checked
Here it is broken down feel free to add too it or use it
Begin String: ^
Country Code 1: (1|1(\s|\s?-\s?|\s?\.\s?|\s?/\s?))?
Area Code FirstDigit cannot be 0 or 1:((\(?[2-9]{1}[\d]{2}\)?(\s|\s?-\s?|\s?\.\s?|\s?/\s?)?))?
3Digit Prefix: (\d{3})
Space/-/. between: (\s|\s?-\s?|\s?\.\s?|\s?/\s?)?
4Digit Suffix: (\d{4})
End String $
*can add country code with out area code!!
|
Matches |
555-5555 1-555-555-5555 1-(555)-555-5555
|
Non-Matches |
0 or 1 starts area code, 1 isn't the country code, non-valid US numbers
|
Author |
Rating:
Philip
|
Title |
Test
Details
Email
|
Expression |
^[-\w'+*$^&%=~!?{}#|/`]{1}([-\w'+*$^&%=~!?{}#|`.]?[-\w'+*$^&%=~!?{}#|`]{1}){0,31}[-\w'+*$^&%=~!?{}#|`]?@(([a-zA-Z0-9]{1}([-a-zA-Z0-9]?[a-zA-Z0-9]{1}){0,31})\.{1})+([a-zA-Z]{2}|[a-zA-Z]{3}|[a-zA-Z]{4}|[a-zA-Z]{6}){1}$
|
Description |
For Email Inputs checks to RFC 5322 Standards (no IP address though Didn't Want them)
localhost:
cannot start or end with .
cannot have .. in it
Domain:
cannot start with - or .
Known problems:
[email protected]
domains can be longer then 255. But each Domain can only be 63 then a . is required
|
Matches |
|
Non-Matches |
|
Author |
Rating:
Philip
|
Displaying page
of
pages;
Items to