(?s)applies the following effective flags to the remainder of the pattern: gus s modifier: single line. Allows a dot to match line terminators
^start of string
#the literal # (3510 / 438 / 2316)
\h+any horizontal whitespace character, repeated at least once
.+?any Unicode character, repeated at least once
\Ra newline sequence
.+?any Unicode character, repeated at least once
\(the literal ( (4010 / 508 / 2816)
\d+a Unicode decimal digit, repeated at least once
\)the literal ) (4110 / 518 / 2916)
.*?any Unicode character, repeated any number of times
\Ra newline sequence
.+?any Unicode character, repeated at least once
\Ra newline sequence
.+?any Unicode character, repeated at least once
\Ra newline sequence
.+?any Unicode character, repeated at least once
\h+any horizontal whitespace character, repeated at least once
Alternate Titlesthe literal text Alternate Titles (case sensitive) \h*any horizontal whitespace character, repeated any number of times
\Ra newline sequence
\Ra newline sequence
.+?any Unicode character, repeated at least once
\Ra newline sequence
!the literal ! (3310 / 418 / 2116)
\[the literal [ (9110 / 1338 / 5B16)
\]the literal ] (9310 / 1358 / 5D16)
\(the literal ( (4010 / 508 / 2816)
mediathe literal text media (case sensitive) .+?any Unicode character, repeated at least once
\)the literal ) (4110 / 518 / 2916)
.+?any Unicode character, repeated at least once
\d+a Unicode decimal digit, repeated at least once
-the literal - (4510 / 558 / 2D16)
\d+a Unicode decimal digit, repeated at least once
-the literal - (4510 / 558 / 2D16)
\d+a Unicode decimal digit, repeated at least once
.+?any Unicode character, repeated at least once
\Ra newline sequence
.+?any Unicode character, repeated at least once
<divthe literal text <div (case sensitive) .+?any Unicode character, repeated at least once
<the literal < (6010 / 748 / 3C16)
\/the literal / (4710 / 578 / 2F16)
div>the literal text div> (case sensitive) g modifier: global. Finds all matches instead of stopping after the first
u modifier: unicode. Treats the pattern and subject as UTF-16