(?s)applies the following effective flags to the remainder of the pattern: gms s modifier: single line. Allows a dot to match line terminators
<!--the literal text <!-- .*?any character, repeated any number of times
(*SKIP)acts like (*PRUNE), but the next unanchored match attempt starts where (*SKIP) was reached instead of at the next subject character
(*F)forces the current match attempt to fail at this position