Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE2 (PHP >=7.3)

/
0?(?P<month>10|11|12|1|2|3|4|5|6|7|8|9)[](?P<day>[1-2][0-9]|3[0-1]|[0]?[1-9])[](?P<year>(19|20)\d{2})[ ](?P<desc>.*?)[ ](?P<amount>[-]?[S]?\d*\.\d+)
/
gm

Description

Submitted by Me - a year ago