Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
/
^(1\s?)?(\(\d{3}\)|\d{3})[\s\-]?\d{3}[\s\-]?\d{4}$
/
mg
Input 1
1
New
555-555-5555 1 555-555-5555 1 (555) 555-5555 5555555555 555-555-5555 (555)555-5555 1(555)555-5555 555-5555 5555555 1 555)555-5555 1 555 555 5555 1 456 789 4444 123**&!!asdf# 55555555 (6054756961) 2 (757) 622-7382 0 (757) 622-7382 -1 (757) 622-7382 2 757 622-7382 10 (757) 622-7382 27576227382 (275)76227382 2(757)6227382 2(757)622-7382 555)-555-5555 (555-555-5555 (555)5(55?)-5555
Substitution