Regular Expressions 101

Library entries

check phone number(Taiwan)

Vote

1

Regular Expression
python

"
\(??(?P<area>0\d{1,2}?)\)??(\s*?|\-??)(?P<phone>\d{3,4}(\s*?|\-??)\d{3,4})
"

Description

Loading markdown...
Submitted by Assalin - 7 years ago