Regular Expressions 101

Community Patterns

Community Library Entry

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 - a year ago