#the literal # (3510 / 438 / 2316)
\s*any whitespace character, repeated any number of times
masterthe literal text master (case sensitive) \s+any whitespace character, repeated at least once
Negated Character Class[^#]+ +matches at least one character outside the set below:
#the literal # (3510 / 438 / 2316)
#the literal # (3510 / 438 / 2316)
\s+any whitespace character, repeated at least once
osdthe literal text osd (case sensitive) 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