<divthe literal text <div (case insensitive) \s+any whitespace character, repeated at least once
username="pepper">the literal text username="pepper"> (case insensitive) Non-Capturing Group(?:(?!<\/div>)[\s\S])*? *?repeats the group contents below any number of times:
Negative Lookahead(?!<\/div>) <the literal < (6010 / 748 / 3C16)
\/the literal / (4710 / 578 / 2F16)
div>the literal text div> (case insensitive) \sany whitespace character
\Sany non-whitespace character
locationthe literal text location (case insensitive) .*?any character (except for line terminators), repeated any number of times
\s+any whitespace character, repeated at least once
<td>the literal text <td> (case insensitive) Negated Character Class[^<]* *matches any number of characters outside the set below:
<the literal < (6010 / 748 / 3C16)
g modifier: global. Finds all matches instead of stopping after the first
i modifier: insensitive. Matches without distinguishing uppercase and lowercase letters