^start of line
.*?any character (except for line terminators), repeated any number of times
\.the literal . (4610 / 568 / 2E16)
Group 2((.*?)(?<!wordX)\.(.*?)) .*?any character (except for line terminators), repeated any number of times
Negative Lookbehind(?<!wordX) wordXthe literal text wordX (case sensitive) \.the literal . (4610 / 568 / 2E16)
.*?any character (except for line terminators), repeated any number of times
\.the literal . (4610 / 568 / 2E16)
the literal (3210 / 408 / 2016)
.*any character (except for line terminators), repeated any number of times
\.the literal . (4610 / 568 / 2E16)
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