^start of line
.*?any Unicode character (except for line terminators), repeated any number of times
Negated Character Class[^\S\n]{2,} {2,}matches at least 2 characters outside the set below:
\Sany character that is not Unicode whitespace
\na line-feed (newline) character (ASCII 10)
;the literal ; (5910 / 738 / 3B16)
\sa Unicode whitespace character
.*?any Unicode character (except for line terminators), repeated any number of times
\s*a Unicode whitespace character, repeated any number of times
#the literal # (3510 / 438 / 2316)
\sa Unicode whitespace character
\S+any character that is not Unicode whitespace, repeated at least once
\sa Unicode whitespace character
Ethe literal E (6910 / 1058 / 4516) (case sensitive)
*matches any number of characters from the set below:
\wa Unicode word character
.the literal . (4610 / 568 / 2E16)
\sa Unicode whitespace character
.*?any Unicode character (except for line terminators), repeated any number of times
$end of line
m modifier: multiline. Causes ^ and $ to match the start and end of each line, not only the start and end of the string
g modifier: global. Finds all matches instead of stopping after the first