Regular Expressions 101

Library entries

12 Hour Time Pattern

Vote

-2

Regular Expression
pcre

/
^(1[012]|[1-9]):[0-5][0-9](\s)?([aAP][mM])$
/

Description

Loading markdown...
Submitted by anonymous - 6 years ago