Regular Expressions 101

Community Patterns

French phone number

-2

Regular Expression
PCRE (PHP <7.3)

/
(?:\+33|\(\+33\)|0)(?:-| |)([0-9]{1})(?:-| |)([0-9]{2})(?:-| |)([0-9]{2})(?:-| |)([0-9]{2})(?:-| |)([0-9]{2})
/
gm

Description

no description available

Submitted by Benoit Anastay - 10 years ago