<divthe literal text <div (case insensitive) .+?any character, repeated at least once
>the literal > (6210 / 768 / 3E16)
?repeats the group contents below at most once:
.+any character, repeated at least once
<the literal < (6010 / 748 / 3C16)
\/the literal / (4710 / 578 / 2F16)
div>the literal text div> (case insensitive) s modifier: single line. Allows a dot to match line terminators
i modifier: insensitive. Matches without distinguishing uppercase and lowercase letters