Community Patterns

Community Library Entry

1

Regular Expression
Created·2015-07-27 14:52
Flavor·ECMAScript (JavaScript)

/
^(0[0-9]|1[0-9]|2[0-3]):[0-5][0-9]$
/
Open regex in editor

Description

check if the format is HH:MM (00:00 is OK, 0:00 is not)

Submitted by anonymous