in reply to regex substring negation
As in, if you want to test that your string doesn't contain "foo", you just do !~ /foo/?
Or indeed, use the substring function itself.