^start of line
\S+any character that is not Unicode whitespace, repeated at least once
\s+a Unicode whitespace character, repeated at least once
\S+any character that is not Unicode whitespace, repeated at least once
\s+a Unicode whitespace character, repeated at least once
.+?any Unicode character (except for line terminators), repeated at least once
Non-Capturing Group(?:\s+(?:EMP|CONT))? ?repeats the group contents below at most once:
\s+a Unicode whitespace character, repeated at least once
Non-Capturing Group(?:EMP|CONT) EMPthe literal text EMP (case sensitive) CONTthe literal text CONT (case sensitive) \s+a Unicode whitespace character, repeated at least once
\d+a Unicode decimal 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