Regular Expressions 101

Community Patterns

12 digit mobile number regex

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 - a year ago (Last modified 8 months ago)