Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Community Library
How to contribute
x
Phone number extract
Open Workspace
Python
Match
Created 2016-01-29 17:21
0
Regular Expression
r"
Phone:
\s
*
\(
{0,1}
(
\d
{3}
)
\)
{0,1}
\s
*
(
\d
{3}
)
-
*
(
\d
{4}
)
\n
{0,1}
"
g
Description
Used to get the phone number from a list of phone numbers
Submitted by
jmitz