Community Patterns

Community Library Entry

1

Regular Expression
Created·2016-01-20 00:04
Flavor·Python

r"
^([1-9]|1[0-2])(?:(\:[0-5][0-9]|1[0-9]|2[0-9]|3[0-9]|4[0-9]|5[0-9]))?(?:(\:[0-5][0-9]|1[0-9]|2[0-9]|3[0-9]|4[0-9]|5[0-9]))?(am|pm)$
"
Open regex in editor

Description

no description available

Submitted by anonymous