(?s)applies the following effective flags to the remainder of the pattern: gmis s modifier: single line. Allows a dot to match line terminators
<divthe literal text <div (case insensitive) Negated Character Class[^>]* *matches any number of characters outside the set below:
>the literal > (6210 / 768 / 3E16)
>the literal > (6210 / 768 / 3E16)
.*any character, repeated any number of times
<imgthe literal text <img (case insensitive) .*any character, repeated any number of times
src=the literal text src= (case insensitive) \"the literal " (3410 / 428 / 2216)
Negated Character Class[^"]+ +matches at least one character outside the set below:
"the literal " (3410 / 428 / 2216)
\"the literal " (3410 / 428 / 2216)
.*any character, repeated any number of times
<the literal < (6010 / 748 / 3C16)
\/the literal / (4710 / 578 / 2F16)
div>the literal text div> (case insensitive) 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
i modifier: insensitive. Matches without distinguishing uppercase and lowercase letters