^start of line
@idthe literal text @id (case sensitive) *the literal (3210 / 408 / 2016) , repeated any number of times
=the literal = (6110 / 758 / 3D16)
*the literal (3210 / 408 / 2016) , repeated any number of times
1the literal 1 (4910 / 618 / 3116)
+matches at least one character from the set below:
\ra carriage return (ASCII 13)
\na line-feed (newline) character (ASCII 10)
Non-Capturing Group(?:[^#]*#)+? +?repeats the group contents below at least once:
Negated Character Class[^#]* *matches any number of characters outside the set below:
#the literal # (3510 / 438 / 2316)
#the literal # (3510 / 438 / 2316)
Positive Lookbehind(?<=^#) ^start of line
#the literal # (3510 / 438 / 2316)
$end of line
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
s modifier: single line. Allows a dot to match line terminators