Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Python

r"
^(\d{4}(-?\d\d){2})[tT]?((\d\d:?){1,2}(\d\d)?(.\d{3})?([zZ]|[+-](\d\d):?(\d\d)))?$
"
gm

Description

designed to work specifically with the parser of the python dateutil package

Submitted by anonymous - 7 years ago