Displaying page
of
pages;
Items to
Title |
Test
Details
Pattern Title
|
Expression |
^[A-Za-zÀ-ÖØ-öø-ÿ '\-\.]{1,22}$
|
Description |
Should match just about any real name, either first
name or last name -- even Jill St. John.
Can't think of a name that has more than 22 characters.
My home page:
<A HREF="http://www.US-Webmasters.com/best-start-page/">http://www.US-Webmasters.com/best-start-page/</A>
|
Matches |
Jill St. John | Jørnç | Mc O'Donald-Öztürk
|
Non-Matches |
abc123 | Nobody! | @#$%^&
|
Author |
Rating:
Not yet rated.
W. D.
|
Title |
Test
Details
Pattern Title
|
Expression |
^[abceghjklmnprstvxyABCEGHJKLMNPRSTVXY][0-9][abceghjklmnprstvwxyzABCEGHJKLMNPRSTVWXYZ] {0,1}[0-9][abceghjklmnprstvwxyzABCEGHJKLMNPRSTVWXYZ][0-9]$
|
Description |
Canadian Postal Code / Codes / Canada / Zip
Google for DFIOQU and you'll see where I got the
info for this.
Can anyone simplify this?
|
Matches |
G3M 5T9 | C3M5T9
|
Non-Matches |
Z3M 5T9 | W3M 5T9 | 5T9 C3M
|
Author |
Rating:
Not yet rated.
W. D.
|
Title |
Test
Details
Pattern Title
|
Expression |
^[01]?[- .]?\(?[2-9]\d{2}\)?[- .]?\d{3}[- .]?\d{4}$
|
Description |
U. S. or Canadian telephone number regular expression. <BR>
<BR>
// # Checks phone numbers for validity <BR>
// [01]? # optional '0', or '1' <BR>
// [- .]? # optional separator is either a dash, a space, or a period. <BR>
// \(? # optional parentheses <BR>
// [2-9] # first # of the area code must not be a '0' or '1' <BR>
// \d{2} # next 2 digits of area code can be 0-9 <BR>
// \)? # optional parentheses <BR>
// [- .]? # optional separator is either a dash, a space, or a period. <BR>
// \d{3} # 3-digit prefix <BR>
// [- .]? # optional separator is either a dash, a space, or a period. <BR>
// \d{4} # 4-digit station number <BR>
|
Matches |
18008793262 | 800-879-3262 | 0-800.879.3262
|
Non-Matches |
879 3262 | 077 879 3262 | 879-3262
|
Author |
Rating:
Not yet rated.
W. D.
|
Displaying page
of
pages;
Items to