{IFthe literal text {IF (case insensitive) \s*any whitespace character, repeated any number of times
Negated Character Class[^}]+ +matches at least one character outside the set below:
}the literal } (12510 / 1758 / 7D16)
}the literal } (12510 / 1758 / 7D16)
+matches at least one character from the set below:
\sany whitespace character
\Sany non-whitespace character
Non-Capturing Group(?:{\/?ELSE}) {the literal { (12310 / 1738 / 7B16)
\/?optionally matches the literal / (4710 / 578 / 2F16)
ELSE}the literal text ELSE} (case insensitive) +?matches at least one character from the set below:
\sany whitespace character
\Sany non-whitespace character
{the literal { (12310 / 1738 / 7B16)
\/the literal / (4710 / 578 / 2F16)
IF}the literal text IF} (case insensitive) g modifier: global. Finds all matches instead of stopping after the first
i modifier: insensitive. Matches without distinguishing uppercase and lowercase letters
m modifier: multiline. Causes ^ and $ to match the start and end of each line, not only the start and end of the string