If I have a pattern such as (word1|word2|word3) how do I specify in a regex anything not matching these subexpression? I.e. how do I negate this?
Try adding (?!pattern). This should negate the whole pattern.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With