\s*any whitespace character, repeated any number of times
Generalthe literal text General (case sensitive) \s+any whitespace character, repeated at least once
Informationthe literal text Information (case sensitive) \s+any whitespace character, repeated at least once
Non-Capturing Group(?:---)+ +repeats the group contents below at least once:
-*the literal - (4510 / 558 / 2D16) , repeated any number of times
+?matches at least one character from the set below:
\sany whitespace character
\Sany non-whitespace character
Non-Capturing Group(?:---)+ +repeats the group contents below at least once:
-*the literal - (4510 / 558 / 2D16) , repeated any number of times
\s*any whitespace character, repeated any number of times
$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