Typethe literal text Type (case sensitive) .*any character (except for line terminators), repeated any number of times
<the literal < (6010 / 748 / 3C16)
.*any character (except for line terminators), repeated any number of times
>the literal > (6210 / 768 / 3E16)
\s*any whitespace character, repeated any number of times
\w*any word character, repeated any number of times
Negated Character Class[^}]*? *?matches any number of characters outside the set below:
}the literal } (12510 / 1758 / 7D16)
Non-Capturing Group(?:while|for) whilethe literal text while (case sensitive) forthe literal text for (case sensitive) \s*any whitespace character, repeated any number of times
\(the literal ( (4010 / 508 / 2816)
.*?any character (except for line terminators), repeated any number of times
\n?optionally matches a line-feed (newline) character (ASCII 10)
.*?any character (except for line terminators), repeated any number of times
Group 2(\{(?>[^{}]|(?-1))*\}) \{the literal { (12310 / 1738 / 7B16)
Atomic Group(?>[^{}]|(?-1))* *repeats the group contents below any number of times:
Negated Character Class[^{}] {the literal { (12310 / 1738 / 7B16)
}the literal } (12510 / 1758 / 7D16)
(?-1)calls group 2 as a subroutine
\}the literal } (12510 / 1758 / 7D16)
g modifier: global. Finds all matches instead of stopping after the first