Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
PCRE2 (PHP >=7.3)

/
^(?:[01][0-9]|2[0-3]):[0-5][0-9](?::[0-5][0-9])?$
/
gm

Description

Submitted by anonymous - 3 months ago