Regular Expressions 101

Sponsors

Library entries

-1
pcre2

1

1
Submitted by anonymous - a month ago
-1
pcre2

213

12312
Submitted by anonymous - a month ago
-1
pcre2

slug numeric

pattern to validate a slug with numbers
Submitted by mestri.rodrigo - a month ago
-1
pcre2

is

Hi it is me
Submitted by anonymous - 18 days ago

Convert numbers-only YYYYMMDD date to dash delineated YYYY-MM-DD

Vote

-1

Regular Expression
pcre2

/
(?<year>\d{4})(?<month>\d{1,2})(?<day>\d{1,2})
/
gm

Description

Loading markdown...
Submitted by anonymous - a month ago