-wordpagefoundthe literal text -wordpagefound (case insensitive) \D*any character that's not a digit, repeated any number of times
\Kresets the starting point of the reported match. Any previously consumed characters are no longer included in the final match
\d+a digit, repeated at least once
Positive Lookahead(?=.*?\bwc\b) .*?any character, repeated any number of times
\ban ASCII word boundary
wcthe literal text wc (case insensitive) \ban ASCII word boundary
i modifier: insensitive. Matches without distinguishing uppercase and lowercase letters
s modifier: single line. Allows a dot to match line terminators