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 5 of 6 pages; Items 81 to 100
Title Test Details Pattern Title
Expression
^[D-d][K-k]-[1-9]{1}[0-9]{3}$
Description
Postalcode Danmark
Matches
Dk-1234 | dk-1234 | DK-1234
Non-Matches
DK 1234 | DK 12345
Author Rating: Not yet rated. paul Snabilie
Title Test Details Pattern Title
Expression
(^\d{5}$)|(^\d{5}-\d{4}$)
Description
I know its probaly in the library, but i did not see it. US zip pattern 5 digits 01234 or 5 digits + 4 01234-1234
Matches
12345 | 12345-6789 | 01234
Non-Matches
1A234 | 12345-aaaa | 12345 1234
Author Rating: Not yet rated. Jay Solomon
Title Test Details Pattern Title
Expression
(?<Telephone>([0-9]|[ ]|[-]|[\(]|[\)]|ext.|[,])+)([ ]|[:]|\t|[-])*(?<Where>Home|Office|Work|Away|Fax|FAX|Phone)|(?<Where>Home|Office|Work|Away|Fax|FAX|Phone|Daytime|Evening)([ ]|[:]|\t|[-])*(?<Telephone>([0-9]|[ ]|[-]|[\(]|[\)]|ext.|[,])+)|(?<Telephone>([(]([0-9]){3}[)]([ ])?([0-9]){3}([ ]|-)([0-9]){4}))
Description
Its extracts telephone numbers
Matches
(913) 451-6461
Non-Matches
3523d3adb3
Author Rating: Not yet rated. Manpreet Grewal
Title Test Details Pattern Title
Expression
^[a-zA-Z\d]+(([\'\,\.\- #][a-zA-Z\d ])?[a-zA-Z\d]*[\.]*)*$
Description
Address It has now been enhanced to accept # too!!
Matches
393 12th St. City, State Zip code
Non-Matches
12 street @@@
Author Rating: Not yet rated. Sadaf Ahmed
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
^[D-d][K-k]( |-)[1-9]{1}[0-9]{3}$
Description
match all danish postal code update from last danish postal code expression
Matches
DK-1234 | dk 1234 | Dk-1234
Non-Matches
DK 12345
Author Rating: Not yet rated. paul Snabilie
Title Test Details Pattern Title
Expression
^[S-s]( |-)?[1-9]{1}[0-9]{2}( |-)?[0-9]{2}$
Description
Swedish postcodes (as far as i know)
Matches
S-123 45 | s 123 45 | S123-45
Non-Matches
Se12345
Author Rating: Not yet rated. paul Snabilie
Title Test Details Pattern Title
Expression
^([0-9]*\-?\ ?\/?[0-9]*)$
Description
Match italian telephone number with prefix followed by &quot;/&quot;, &quot;-&quot; or blank and number. Usefull with numeric keybord!
Matches
02-343536 | 02/343536 | 02 343536
Non-Matches
02a343536 | 02+343536
Author Rating: Not yet rated. Giorgio Spugnesi
Title Test Details Pattern Title
Expression
((\(\d{3}\) ?)|(\d{3}[- \.]))?\d{3}[- \.]\d{4}(\s(x\d+)?){0,1}$
Description
This will match US most common telephones format with extension or with out extension. Works with both Java and .NET.
Matches
(123) 456-7890 | (123) 456-7890 x123
Non-Matches
(123) 456-7890 x123x | (123) 456-7890 x123 x123 | (123) 456-7890 x
Author Rating: Not yet rated. khoi le
Title Test Details Pattern Title
Expression
^0{0,1}[1-9]{1}[0-9]{2}[\s]{0,1}[\-]{0,1}[\s]{0,1}[1-9]{1}[0-9]{6}$
Description
The regex that matches the telephone numbers in India. ####Enjoy Regex####
Matches
0493 - 3227341 | 0493 3227341 | 493 3227341
Non-Matches
93 0227341 | 493 322734111 | 493 -- 3227341
Author Rating: Not yet rated. Vathachira Joseph Bino
Title Test Details Pattern Title
Expression
^((\+){0,1}91(\s){0,1}(\-){0,1}(\s){0,1}){0,1}98(\s){0,1}(\-){0,1}(\s){0,1}[1-9]{1}[0-9]{7}$
Description
The Regex validate the mobile numbers in India. Gives flexibility to user to enter numbers in different format like +919847444225, +91-98-45017381, 9844111116, 98 44111112, 98-44111116 ###Enjoy REGEX###
Matches
+919847444225 | +91-98-44111112 | 98 44111116
Non-Matches
+919800444225 | +947444225 | 44111116
Author Rating: Not yet rated. Vathachira Joseph Bino
Title Test Details Pattern Title
Expression
^(?:\([2-9]\d{2}\)\ ?|(?:[2-9]\d{2}\-))[2-9]\d{2}\-\d{4}$
Description
This US phone number edit with restricted format options: Accepts optional parens on area code with or without following space, and dashes between area code, central office code and station code. Formats include only (222) 555-1212 (with or without a space) and 222-555-1212. Conforms to NANP A-digit and D-digit requirements (ANN-DNN-NNNN). Area Codes 001-199 are not permitted; Central Office Codes 001-199 are not permitted.
Matches
(234) 555-1212 | (234)555-1212 | 234-555-1212
Non-Matches
(234)5551212 | 234 555 1212 | 234) 555-1212
Author Rating: Not yet rated. Don Johnston
Title Test Details Pattern Title
Expression
^[0-9]{5}$
Description
Matches german standard postal codes named 'Postleitzahl'
Matches
03242 | 36260 | 12394
Non-Matches
3520 | 102 | 100202
Author Rating: Not yet rated. Kevin Wennemuth
Title Test Details Pattern Title
Expression
^(\(?\d\d\d\)?)?( |-|\.)?\d\d\d( |-|\.)?\d{4,4}(( |-|\.)?[ext\.]+ ?\d+)?$
Description
Basic US phone number matching pattern. I found this place and used a regex, so figured I'd share.
Matches
(888) 555-1212 | 888.555.1212 | (888) 555.1212 ext. 1212
Non-Matches
(800) got-fish | 011+ 78907 2344323
Author Rating: Not yet rated. Jon Stephens
Title Test Details Pattern Title
Expression
(\s*\(?0\d{4}\)?(\s*|-)\d{3}(\s*|-)\d{3}\s*)|(\s*\(?0\d{3}\)?(\s*|-)\d{3}(\s*|-)\d{4}\s*)|(\s*(7|8)(\d{7}|\d{3}(\-|\s{1})\d{4})\s*)
Description
another uk telephone number regex. This was adapted from another on this site http://www.regexlib.com/REDetails.aspx?regexp_id=297 I added support for hyphens and for london shorthand numbers ie. 8234-1234 72341234 Still want to be permissive where possible....Still need to sort out the all zeros, also not sure if numbers with 4 digits followed by 7 used in london 0208-234-1234 is the area of the uk where this occurs, or all areas outside of london are in format 5 digits followed by 6 digits ie. 01608 123456. If that is the case for the 4-7 pattern only 0208 or 0207 could be enforced.
Matches
0208 993 5689 | 0208-993-5689 | 89935689
Non-Matches
1608 123 456
Author Rating: Not yet rated. Matt Baskey
Title Test Details Pattern Title
Expression
^[0-9]{5}([\s-]{1}[0-9]{4})?$
Description
My first Expression. This will match US postal codes (zip codes) using simple 5 digit format with optional 4 digit extention seperated by a space or hyphen. Will not accept letters. example: 12345 or 12345-1234 or 12345 1234.
Matches
12345-1234 | 12345 | 12345 1234
Non-Matches
123451234 | 12345 a345 | a2345-1234
Author Rating: Not yet rated. Ed Stafford
Title Test Details Pattern Title
Expression
^p(ost)?[ |\.]*o(ffice)?[ |\.]*(box)?[ 0-9]*[^[a-z ]]*
Description
This expression is useful for determining if an address is a PO Box type address. This can be useful in shipping systems as well as other systems that need to make determinations based on the type of address imputed.
Matches
po box 4353
Non-Matches
pollo St. | P. O. Box d3f12s | BOX 23
Author Rating: Not yet rated. Darryl Kuhn
Title Test Details Pattern Title
Expression
\d{5}\-\d{3}
Description
Brazilian Postal Box RegExp validation
Matches
02245-999
Non-Matches
ABCDE-FGH
Author Rating: Not yet rated. Valmir Cinquini
Title Test Details Pattern Title
Expression
^([2-9])(\d{2})(-?|\040?)(\d{4})( ?|\040?)(\d{1,4}?|\040?)$
Description
A regular expression that validates the any format of fixed telephone numbers inside Lima - Peru, including an optional extension of at least one number up to four numbers.
Matches
263-8854 | 5660578 1235 | 622-4588 21
Non-Matches
1227585 | 4224586 50124 | 0554499
Author Rating: Not yet rated. Alan Ferrandiz Langley
Title Test Details Pattern Title
Expression
^([8-9])([1-9])(\d{2})(-?|\040?)(\d{4})$
Description
A regular expression that validates the any of the new formats of cellular phones numbers in Peru, allows an optional dash in the middle of the number.
Matches
8874-2544 | 99106800 | 84509955
Non-Matches
6540-9985 | 77329390 | 725-2763
Author Rating: Not yet rated. Alan Ferrandiz Langley
Change page:   |    Displaying page 5 of 6 pages; Items 81 to 100

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