0

I want to use @document regexp() rule to exclude certain sites from applying rules to. What can I use as a regexp to do this?

Community
  • 1
  • 1
laggingreflex
  • 32,948
  • 35
  • 141
  • 196
  • 1
    Could you give some examples of the domains you want excluded? JS has negative lookahead, so I am wildly assuming it works for CSS too. – Asad Saeeduddin Nov 01 '12 at 12:41
  • Try `^(?!http:\/{2}example\.com).+` – Asad Saeeduddin Nov 01 '12 at 12:52
  • `^(?!.*IgnoreMe.*).*$` as suggested [here](http://stackoverflow.com/a/831989/1266650) works too. – laggingreflex Nov 03 '12 at 07:34
  • 1
    Are you still looking for an answer to this question? I answered your previous question and seem to have missed this one. You'll need to provide more details though, like which domains you're specifically trying to exclude. – BoltClock Jan 17 '13 at 16:48

0 Answers0