I am looking for a regular expression which would match everything, except a specific string. I have found a lot of examples which check if it contains a string, but I need it to be exact. So if the string is example
:
example
→ does not matchwhatever
→ matchesaexample
→ matchesexamplea
→ matches