Regular Expressions 101

Community Patterns

Date-time extractor in the form of YYYYMMDDHHMMSS

1

Regular Expression
PCRE (PHP <7.3)

/
(\d{4})(0\d|1[0-2])([0-2]\d|3[0-1])([0-1]\d|2[0-3])([0-5]\d)([0-5]\d)
/
gm

Description

no description available

Submitted by anonymous - 4 years ago