Regular Expressions 101

Community Patterns

French telephone number

1

Regular Expression
PCRE (PHP <7.3)

/
^((?:0|0033|\+33)[1-9])((?:[-_. ]?)[0-9]{2})((?:[-_. ]?)[0-9]{2})((?:[-_. ]?)[0-9]{2})((?:[-_. ]?)[0-9]{2})$
/

Description

With working parenthesis !

Submitted by Arthur - 8 years ago