I need a regular expression matching every string except for a given one (say, "hello"). In my framework negative look-ahead and look-behind are not supported, so I can't use the simple:
"^(?!hello$).*"
Is there an equivalent not using look-behind or look-ahead?
I need a string to not match only if it is exactly the given word, not if it simply contains it.