(?s)applies the following effective flags to the remainder of the pattern: gms s modifier: single line. Allows a dot to match line terminators
text:the literal text text: (case sensitive) \h*any horizontal whitespace character, repeated any number of times
.*?any character, repeated any number of times
\Ra newline sequence
\s*any whitespace character, repeated any number of times
Status:the literal text Status: (case sensitive) \h*any horizontal whitespace character, repeated any number of times
Negated Character Class[^\r\n]* *matches any number of characters outside the set below:
\ra carriage return (ASCII 13)
\na line-feed (newline) character (ASCII 10)
\Ra newline sequence
\s*any whitespace character, repeated any number of times
Info:the literal text Info: (case sensitive) \h*any horizontal whitespace character, repeated any number of times
.*?any character, repeated any number of times
\s*any whitespace character, repeated any number of times
Endthe literal text End (case sensitive) \ban ASCII word boundary
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