Community Patterns

Community Library Entry

0

Regular Expression
Created·2016-01-29 17:21
Flavor·Python

r"
Phone:\s*\({0,1}(\d{3})\){0,1}\s*(\d{3})-*(\d{4})\n{0,1}
"
g
Open regex in editor

Description

Used to get the phone number from a list of phone numbers

Submitted by jmitz