Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Python

r"
^([0-9]{4}((0[1-9])|(1[0-2]))((0[1-9])|([1-2][0-9])|(3[0-1]))((([0-1][0-9])|(2[0-3]))[0-5][0-9][0-5][0-9](\.[0-9]{3}(\[[\+\-]?((0[0-9])|(1[0-4])):(00|30|45)\])?)?)?)$
"

Description

no description available

Submitted by Oleg Sakharov (karpuscul@gmail.com) - 9 years ago