Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Python

r"
^[0-9]{14}$
"
gm

Description

The regex matches for national or international phone number of up to 15 digits if it includes the country code

Submitted by anonymous - 2 years ago (Last modified a year ago)