Build, test, and debug regular expressions
Parses OFX (Open Financial Exchange) date/time strings, where components are progressively optional from year down to seconds (YYYY, YYYYMM, YYYYMMDD, YYYYMMDDHHMMSS). Optionally captures milliseconds plus a bracketed timezone offset and name such as [-5:EST]. Every part is a named group (year, month, day, hour, minute, second, millis, offsetSign, offsetHour, offsetMin, tz), making it easy to construct datetime values when importing QFX/OFX bank statements.