Regular Expressions 101

Community Patterns

There does not seem to be anything here

Community Library Entry

0

Regular Expression
Python

r"
[+]\d{2}?[-\s]?\d{5}?[-\s]?\d{5}|\(\d{3}\)\-\d{3}-\d{4}
"
gm

Description

extracting mobile number along with country code

Submitted by anonymous - 3 years ago