Regular Expressions 101

Community Patterns

4

CloudFlare

PCRE2 (PHP >=7.3)
Cloud Flare
Submitted by anonymous - 3 years ago
4

Email

PCRE2 (PHP >=7.3)
email format control
Submitted by ahmetbarut - 3 years ago
3

example

PCRE2 (PHP >=7.3)
example
Submitted by anonymous - 3 years ago

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

Loading markdown...
Submitted by Benoit Anastay - 10 years ago