Is it possible to write a regexp rule in "one line" that says: neither A nor B.
For instance:
String must contain NEITHER "foo" NOR "bar".
Why one line? Since the filtering tool that I use takes only one line ... I have not tried things like (.*foo.*){0}(.*bar.*){0}.
source
share