Regular Expressions 101

Community Patterns

0

Mysite

PCRE (PHP <7.3)
Hello
Submitted by anonymous - 7 months ago
0

Remove Whitespace

PCRE2 (PHP >=7.3)
no more whitespace
Submitted by Me - 7 months ago
0

ipv4

PCRE2 (PHP >=7.3)
To check IPv4
Submitted by anonymous - 7 months ago
-1

phone

PCRE2 (PHP >=7.3)
regex for phone
Submitted by anonymous - 7 months ago
0

links

PCRE2 (PHP >=7.3)
links validation
Submitted by ahmedfawzi - 8 months ago
0

수량자 실습

PCRE2 (PHP >=7.3)
수량자 실습
Submitted by ASJ - 8 months ago

Validación de fecha

0

Regular Expression
PCRE2 (PHP >=7.3)

/
^(?:(?:(0?[1-9]|1\d|2[0-8])[\/](0?[1-9]|1[0-2])|(29|30)[\/](0?[13-9]|1[0-2])|(31)[\/](0?[13578]|1[02]))[\/](0{2,3}[1-9]|0{1,2}[1-9]\d|0?[1-9]\d{2}|[1-9]\d{3})|(29)[\/](0?2)[\/](\d{1,2}(?:0[48]|[2468][048]|[13579][26])|(?:0?[48]|[13579][26]|[2468][048])00))$
/
mg

Description

Loading markdown...
Submitted by Carlos Osmar - 10 months ago