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
^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
^[0-9]{2,3}-? ?[0-9]{6,7}$
Description
Validates Spain Phones
Matches
972367087 | 97-3770866 | 972-377086
Non-Matches
9988-989898 | 989898988989 | 9 9898989898
Author Rating: Not yet rated. Francesc Vila
Title Test Details Pattern Title
Expression
^(\()?(787|939)(\)|-)?([0-9]{3})(-)?([0-9]{4}|[0-9]{4})$
Description
Filter US telephone numbers. This particular one accepts only area code 939 or 787. Area code parentesis or hyphens optional.
Matches
(787)755-0114 | 939-315-0112 | 7879093849
Non-Matches
(098)737-3942 | (89)893-2392 | 939782721
Author Rating: Not yet rated. Ricardo Gonzalez
Title Test Details Pattern Title
Expression
(\+)?([-\._\(\) ]?[\d]{3,20}[-\._\(\) ]?){2,10}
Description
Telephone number filter - use to catch and replace phone numbers where you don't want them to appear.
Matches
(604) 789-0136 | +123-45678-908
Non-Matches
01.12.23
Author Rating: Not yet rated. Dave Turner
Change page:   |    Displaying page 6 of 6 pages; Items 101 to 104

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