Regular Expressions 101

Community Patterns

French mobile phone numbers

1

Regular Expression
PCRE2 (PHP >=7.3)

/
^ (?:(?:\+|00)33[\s.-]?[67]|0[\s.-]?[67]) # Dialing code (?:[\s.-]*\d{2}){4} # End of the phone number $
/
gmix

Description

French mobile phone numbers

Submitted by anonymous - 3 months ago