^start of line
Positive Lookahead(?=[^-]+-([^=]+)=.) Negated Character Class[^-]+ +matches at least one character outside the set below:
-the literal - (4510 / 558 / 2D16)
-the literal - (4510 / 558 / 2D16)
Negated Character Class[^=]+ +matches at least one character outside the set below:
=the literal = (6110 / 758 / 3D16)
=the literal = (6110 / 758 / 3D16)
.any character (except for line terminators)
Negated Character Class[^-]*? *?matches any number of characters outside the set below:
-the literal - (4510 / 558 / 2D16)
\1the text saved by group 1
Negated Character Class[^-]* *matches any number of characters outside the set below:
-the literal - (4510 / 558 / 2D16)
-the literal - (4510 / 558 / 2D16)
Negated Character Class[^=]+ +matches at least one character outside the set below:
=the literal = (6110 / 758 / 3D16)
=the literal = (6110 / 758 / 3D16)
\2the text saved by group 2
\3the text saved by group 3
$end of line
g modifier: global. Finds all matches instead of stopping after the first
m modifier: multiline. Causes ^ and $ to match the start and end of each line, not only the start and end of the string