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

Please support RegExLib Sponsors

Sponsors

Expressions by User

   Displaying page 1 of 1 pages; Items 1 to 3
Title Test Details US Phone with spaces only
Expression
(\+1 )?\d{3} \d{3} \d{4}
Description
This simple expression validates a USA phone number format where the +1 is required and that the phone number must only consist of numbers and spaces.
Matches
+1 808 555 1234
Non-Matches
808-555-1234 | +1 (808) 555-1234
Author Rating: Not yet rated. Suriya Supatanasakul
Title Test Details UK Phone with country code and area code
Expression
\+44\s\(0\)\s\d{2}\s\d{4}\s\d{4}
Description
Simple expression to validate a UK phone number including country code and area code. Requires spacing.
Matches
+44 (0) 55 4444 3333
Non-Matches
+44 (0) 5555555555 | 55 4444 3333
Author Rating: Not yet rated. Suriya Supatanasakul
Title Test Details Ireland phone number and country code
Expression
\+353\(0\)\s\d\s\d{3}\s\d{4}
Description
This simple expression evaluates an Ireland phone number. It requires the country code and dialing instructions for an international call plus spaces within the number.
Matches
+353(0) 5 444 3333
Non-Matches
+353(0) 55555555 | 5 444 3333
Author Rating: Not yet rated. Suriya Supatanasakul
   Displaying page 1 of 1 pages; Items 1 to 3

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