CustomFilter icon indicating copy to clipboard operation
CustomFilter copied to clipboard

How to block if it doesn't contain keyword

Open ddaaii opened this issue 7 years ago • 2 comments

How do I block elements if it doesn't contain keywords instead of the default 'blocking if it contains'?

ddaaii avatar Oct 12 '17 23:10 ddaaii

Indeed, how do you do that?... Tried the regex !(.keyword to be contained.) and... it didn't work(!)... Does the regex work?!...

andreicaba avatar Jul 15 '20 13:07 andreicaba

Nevermind, I actually did it with Regex. I checked both „Complete Match” and „Regex” and then used something like this:

^((?!keyword).)*$

by the way, for some reason the escaping char can't be added there (this char: \ )

andreicaba avatar Jul 15 '20 13:07 andreicaba