Non-Capturing Group(?:[^>=]|='[^']*'|="[^"]*"|=[^'"][^\s>]*)*? *?repeats the group contents below any number of times:
Negated Character Class[^>=] >the literal > (6210 / 768 / 3E16)
=the literal = (6110 / 758 / 3D16)
Negated Character Class[^']* *matches any number of characters outside the set below:
'the literal ' (3910 / 478 / 2716)
'the literal ' (3910 / 478 / 2716)
Negated Character Class[^"]* *matches any number of characters outside the set below:
"the literal " (3410 / 428 / 2216)
"the literal " (3410 / 428 / 2216)
4th Alternative=[^'"][^\s>]* =the literal = (6110 / 758 / 3D16)
Negated Character Class[^'"] 'the literal ' (3910 / 478 / 2716)
"the literal " (3410 / 428 / 2216)
Negated Character Class[^\s>]* *matches any number of characters outside the set below:
\sany whitespace character
>the literal > (6210 / 768 / 3E16)
\s*any whitespace character, repeated any number of times
\Kresets the starting point of the reported match. Any previously consumed characters are no longer included in the final match
onclickthe literal text onclick (case sensitive) \s*any whitespace character, repeated any number of times
=the literal = (6110 / 758 / 3D16)
?matches at most one character from the set below:
'the literal ' (3910 / 478 / 2716)
"the literal " (3410 / 428 / 2216)
.*?any character (except for line terminators), repeated any number of times
\1the text saved by group 1
Non-Capturing Group(?:\s|$) \sany whitespace character
$end of string, or before its final line terminator
g modifier: global. Finds all matches instead of stopping after the first