Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
ECMAScript (JavaScript)

/
^((0?[1-9]{1})|(1{1}[0-2]{1}))((:[0-5][0-9])?)(A|P|AM|PM)$
/
i

Description

no description available

Submitted by anonymous - 9 years ago