Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Python

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

Description

Validate time in 24hs format

Submitted by anonymous - 2 years ago