Regular Expressions 101

Library entries

Proposed OFX DateTimeType pattern for v. 2.1.1+

Vote

0

Regular Expression
python

"
^([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

Loading markdown...
Submitted by Oleg Sakharov (karpuscul@gmail.com) - 6 years ago