Group nimetus(?<nimetus>(?!(Subtotal))\S+) Negative Lookahead(?!(Subtotal)) Subtotalthe literal text Subtotal (case sensitive) \S+any character that is not Unicode whitespace, repeated at least once
Negated Character Class[^\n]*? *?matches any number of characters outside the set below:
\na line-feed (newline) character (ASCII 10)
the literal (3210 / 408 / 2016)
\d+a Unicode decimal digit, repeated at least once
the literal (3210 / 408 / 2016)
\d+a Unicode decimal digit, repeated at least once
the literal (3210 / 408 / 2016)
\d+a Unicode decimal digit, repeated at least once
the literal ↵ (1010 / 128 / A16)
g modifier: global. Finds all matches instead of stopping after the first
s modifier: single line. Allows a dot to match line terminators