^start of line
.*any character (except for line terminators), repeated any number of times
\da digit
/the literal / (4710 / 578 / 2F16)
\h*any horizontal whitespace character, repeated any number of times
\da digit
.*any character (except for line terminators), repeated any number of times
Non-Capturing Group(?:\R(?!END OF REPORT).*)* *repeats the group contents below any number of times:
\Ra newline sequence
Negative Lookahead(?!END OF REPORT) END OF REPORTthe literal text END OF REPORT (case insensitive) .*any character (except for line terminators), repeated any number of times
\Ra newline sequence
END OF REPORTthe literal text END OF REPORT (case insensitive) \ban ASCII word boundary
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
i modifier: insensitive. Matches without distinguishing uppercase and lowercase letters