Regular Expressions 101

Community Patterns

0

Email

PCRE (PHP <7.3)
no description available
Submitted by anonymous - 3 years ago
0

decode

PCRE (PHP <7.3)
no description available
Submitted by anonymous - 3 years ago
0

Kendala

PCRE2 (PHP >=7.3)
kendala
Submitted by rey - 2 years ago
0

Match color string

PCRE2 (PHP >=7.3)
Match color string
Submitted by EZ - a year ago

Validate number in format: +xxxxxxxxxxx

1

Regular Expression
PCRE (PHP <7.3)

/
^(?:\+[0-9]{1,3}()|[0-9]{6,10}()){2}\1\2$
/

Description

Loading markdown...
Submitted by Donatas StonĨius - donatas@stoncius.lt - 8 years ago