Positive Lookbehind(?<=<%=(?:(?!<%=|%>).)*) Non-Capturing Group(?:(?!<%=|%>).)* *repeats the group contents below any number of times:
Negative Lookahead(?!<%=|%>) .any character
\Bnot an ASCII word boundary
\$the literal $ (3610 / 448 / 2416)
_the literal _ (9510 / 1378 / 5F16)
\w+any word character, repeated at least once
Positive Lookahead(?=(?:(?!<%=|%>).)*%>) Non-Capturing Group(?:(?!<%=|%>).)* *repeats the group contents below any number of times:
Negative Lookahead(?!<%=|%>) .any character
g modifier: global. Finds all matches instead of stopping after the first
s modifier: single line. Allows a dot to match line terminators