RegExLib.com - The first Regular Expression Library on the Web!

Please support RegExLib Sponsors

Sponsors

Browse Expressions by Category

104 regular expressions found in this category!

Expressions in category: Address/Phone

Change page:   |    Displaying page 6 of 6 pages; Items 101 to 104
Title Test Details Pattern Title
Expression
^([+]39)?((38[{8,9}|0])|(34[{7-9}|0])|(36[6|8|0])|(33[{3-9}|0])|(32[{8,9}]))([\d]{7})$
Description
Validates a Italian mobile phone number with (or without) the International code
Matches
+393471234567 | 3381234567
Non-Matches
+39 3401234567 | 347 1234567 | 338-1234567
Author Rating: Not yet rated. Fabrizio Fortini
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.
Title Test Details Pattern Title
Expression
^[A-Za-z]{1,2}[\d]{1,2}([A-Za-z])?\s?[\d][A-Za-z]{2}$
Description
UK Postal Codes - The code is normally written in capital letters with a space between the outer and inner parts; it is understandable if the space is omitted. This regular expression validates upper or lower case with or without the space:
Matches
CF1 2AA | cf564fg
Non-Matches
a1234d | A12 77Y
Author Rating: Not yet rated. Scott Pite
Title Test Details Pattern Title
Expression
^[+][0-9]\d{2}-\d{3}-\d{4}$
Description
This is a basic telephone number vaildation which needs a compulsory prefix of a '+' sign with three digits and followed by a hipen, another three digits and finally followed by another hipen and four more digits. Regards, Senthil Gunabalan
Matches
+974-584-5656 | +000-000-0000 | +323-343-3453
Non-Matches
974-584-5656 | +974 000 0000
Author Rating: Not yet rated. Senthil Gunabalan
Change page:   |    Displaying page 6 of 6 pages; Items 101 to 104

Copyright © 2001-2019, RegexAdvice.com | ASP.NET Tutorials