<the literal < (6010 / 748 / 3C16)
\s*any whitespace character, repeated any number of times
scriptthe literal text script (case sensitive) Negated Character Class[^>]* *matches any number of characters outside the set below:
>the literal > (6210 / 768 / 3E16)
Negated Character Class[^\/] \/the literal / (4710 / 578 / 2F16)
>the literal > (6210 / 768 / 3E16)
.*?any character, repeated any number of times
<the literal < (6010 / 748 / 3C16)
\s*any whitespace character, repeated any number of times
\/the literal / (4710 / 578 / 2F16)
\s*any whitespace character, repeated any number of times
scriptthe literal text script (case sensitive) \s*any whitespace character, repeated any number of times
>the literal > (6210 / 768 / 3E16)
g modifier: global. Finds all matches instead of stopping after the first
s modifier: single line. Allows a dot to match line terminators