^start of line
\s*any whitespace character, repeated any number of times
\ban ASCII word boundary
MAIN LEVELthe literal text MAIN LEVEL (case sensitive) \ban ASCII word boundary
\na line-feed (newline) character (ASCII 10)
Non-Capturing Group(?:(?!\n\n)[\s\S])* *repeats the group contents below any number of times:
Negative Lookahead(?!\n\n) \na line-feed (newline) character (ASCII 10)
\na line-feed (newline) character (ASCII 10)
\sany whitespace character
\Sany non-whitespace character
\ban ASCII word boundary
Bedrooms:the literal text Bedrooms: (case sensitive) \s*any whitespace character, repeated any number of times
.*any character (except for line terminators), repeated any number of times
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