(?i)applies the following effective flags to the remainder of the pattern: gmi i modifier: insensitive. Matches without distinguishing uppercase and lowercase letters
.*any character (except for line terminators), repeated any number of times
paymentthe literal text payment (case insensitive) .*any character (except for line terminators), repeated any number of times
Rsthe literal text Rs (case insensitive) .any character (except for line terminators)
*matches any number of characters from the set below:
.the literal . (4610 / 568 / 2E16)
,the literal , (4410 / 548 / 2C16)
0-9one character from 0 (4810) to 9 (5710)
.*any character (except for line terminators), repeated any number of times
txnthe literal text txn (case insensitive) \s*any whitespace character, repeated any number of times
Non-Capturing Group(?:[a-zA-Z0-9]*) Character Class[a-zA-Z0-9]* *matches any number of characters from the set below:
a-zone character from a (9710) to z (12210) (case insensitive)
A-Zone character from A (6510) to Z (9010) (case insensitive)
0-9one character from 0 (4810) to 9 (5710)
\s*any whitespace character, repeated any number of times
onthe literal text on (case insensitive) .*any character (except for line terminators), repeated any number of times
bythe literal text by (case insensitive) \s*any whitespace character, repeated any number of times
Group 2([0-9a-zA-Z ]*,\s*[0-9]*) Character Class[0-9a-zA-Z ]* *matches any number of characters from the set below:
0-9one character from 0 (4810) to 9 (5710)
a-zone character from a (9710) to z (12210) (case insensitive)
A-Zone character from A (6510) to Z (9010) (case insensitive)
the literal (3210 / 408 / 2016)
,the literal , (4410 / 548 / 2C16)
\s*any whitespace character, repeated any number of times
*matches any number of characters from the set below:
0-9one character from 0 (4810) to 9 (5710)
g modifier: global. Finds all matches instead of stopping after the first
m modifier: multiline. Causes ^ and $ to match the start and end of each line, not only the start and end of the string