sthe literal s (11510 / 1638 / 7316) (case sensitive)
\Sany non-whitespace character
Non-Capturing Group(?:(?!\1).)*? *?repeats the group contents below any number of times:
\1the text saved by group 1
.any character (except for line terminators)
\1the text saved by group 1
Non-Capturing Group(?:(?!\1).)*? *?repeats the group contents below any number of times:
\1the text saved by group 1
.any character (except for line terminators)
\1the text saved by group 1
gthe literal g (10310 / 1478 / 6716) (case sensitive)
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