Regular Expressions 101

Community Patterns

0

Don’t

PCRE2 (PHP >=7.3)
Bb
Submitted by Hi - 5 months ago
0

Inclusions

PCRE2 (PHP >=7.3)
m
Submitted by anonymous - 5 months ago
0

Innovative

PCRE2 (PHP >=7.3)
Parts
Submitted by anonymous - 5 months ago
0

valid path

PCRE2 (PHP >=7.3)
valid path
Submitted by anonymous - 5 months ago

Date with this format YYYY-MM-DD and year start 20 or 21

-4

Regular Expression
PCRE (PHP <7.3)

/
^(20|21)[0-9]{2}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])$
/
date php

Description

Loading markdown...
Submitted by cisc0 - 10 years ago