<ref>the literal text <ref> (case sensitive) Non-Capturing Group(?:(?!<\/ref>).)* *repeats the group contents below any number of times:
Negative Lookahead(?!<\/ref>) <the literal < (6010 / 748 / 3C16)
\/the literal / (4710 / 578 / 2F16)
ref>the literal text ref> (case sensitive) .any character (except for line terminators)
examplethe literal text example (case sensitive) \.the literal . (4610 / 568 / 2E16)
comthe literal text com (case sensitive) .*?any character (except for line terminators), repeated any number of times
<the literal < (6010 / 748 / 3C16)
\/the literal / (4710 / 578 / 2F16)
ref>the literal text ref> (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