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
2

object

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

Mobile Number Regex

2

Regular Expression
PCRE2 (PHP >=7.3)

/
^((?:[1-9][0-9 ().-]{5,28}[0-9])|(?:(00|0)( ){0,1}[1-9][0-9 ().-]{3,26}[0-9])|(?:(\+)( ){0,1}[1-9][0-9 ().-]{4,27}[0-9]))$
/
gm

Description

Loading markdown...
Submitted by anonymous - 3 years ago