Let's say I have this url:
https://www.google.com/search?q=test&tbm=isch&randomParameters=123
I want to match google's search url, when it doesn't contain:
tbm=isch
tbm=news
param1=432
I've tried this pattern:
^http(s):\/\/www.google.(.*)\/(search|webhp)\?(?![\s]+(tbm=isch|tbm=news|param1=432))
but it's not working (as in still matching), the sample url
[\s]+
- why? Did you mean.*?
or[\S]*?