In regex you can say what characters to negate. I need to find expressions not having exact words. For example find expressions having "foo" not followed by "