^start of line
Group DATE(?<DATE>[^A-Z]+) Negated Character Class[^A-Z]+ +matches at least one character outside the set below:
A-Zone character from A (6510) to Z (9010) (case sensitive)
\sany whitespace character
Totalthe literal text Total (case sensitive) \sany whitespace character
numberthe literal text number (case sensitive) \sany whitespace character
ofthe literal text of (case sensitive) \sany whitespace character
Group PRINTERS(?<PRINTERS>[^:]+) Negated Character Class[^:]+ +matches at least one character outside the set below:
:the literal : (5810 / 728 / 3A16)
:the literal : (5810 / 728 / 3A16)
\sany whitespace character
Group QUANTITY(?<QUANTITY>\d+) \d+a digit, repeated at least once
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