I have currently a pattern match in a query like this
if(upper(email_omni_code_mini) like '%TRAVEL%' and upper(email_omni_code_mini) NOT like '%TRAVEL%ENS%',...,...)
I want to change this to a single pattern match but this won't work
TRAVEL(?!ENS)
as ENS is not immediately following.
Is there a way to solve this easily.
Any help is appreciated.