Regular Expressions 101

Community Patterns

match time before 12:35 or match 12:35 exactly

0

Regular Expression
PCRE (PHP <7.3)

/
^(0\d:[0-5]\d)|(^1[01]:[0-5]\d)|(^12:[0-2]\d)|(^12:3[0-5])
/
mg

Description

no description available

Submitted by anonymous - 8 years ago