Test, validate and match regular expressions
This regular expression matches the exact word highlighted only when it is not wrapped in specific HTML span tags. It uses a negative lookbehind to ensure the word is not preceded by the opening span tag and a negative lookahead to ensure it is not followed by the closing tag. This is particularly useful for syntax highlighting or text parsing tasks where you want to find unformatted instances of a word while ignoring those that are already enclosed in these HTML tags.