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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Singapore & US phone numbers
Expression
^(\+?\d{1,2}[ -]?)?(\(\+?\d{2,3}\)|\+?\d{2,3})?[ -]?\d{3,4}[ -]?\d{3,4}$
Description
Matches most common varieties of Singapore and US phone numbers, including toll-free numbers. Although untested, it should also match other international phone numbers.
Matches
(+65) 8765 4321 | (+65) 87654321 | (+65) 8765-4321 | (+65)8765 4321 | (+65)87654321 | (+65)8765-4321 | +65 8765 4321 | +65 87654321 | +65 8765-4321 | +658765 4321 | +658765-4321 | +6876543215 | 8765 4321 | 87654321 | 8765-4321 | (408) 765 4321 | (408) 7654321 | (408) 765-4321 | (408)765 4321 | (408)7654321 | (408)765-4321 | +1 (408) 765 4321 | +1 (408) 7654321 | +1 (408) 765-4321 | +1 (408)765 4321 | +1 (408)7654321 | +1 (408)765-4321 | +1 408 765 4321 | +1 4087654321 | +1(408) 765 4321 | +1(408) 7654321 | +1(408) 765-4321 | +1(408)765 4321 | +1(408)7654321 | +1(408)765-4321 | 1 (408) 765 4321
Non-Matches
(+65 8765-4321 | +65 87 432 | 8765 4321 | 8765+4321 | (-408) 765 4321 | +1 (1408) 765 4321
Author Rating: The rating for this expression. Tom Doan
Source Tom Doan
Your Rating
Bad Good

Enter New Comment

Title

Name

Comment

Spammers suck - we apologize. Please enter the text shown below to enable your comment (not case sensitive - try as many times as you need to if the first ones are too hard):

Existing User Comments

Title: how to Facebook cord
Name: Nayeem
Date: 6/7/2023 10:24:10 PM
Comment:
How to Facebook cord


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