1

So, you know how in css this [href*='www.example.com'] will grab every link that goes to www.example.com? Is it possible to do the opposite? In other words, grab every link that doesn't point to www.example.com.

If this isn't possible with css, would it be possible to do with jquery?

John R Perry
  • 3,916
  • 2
  • 38
  • 62

1 Answers1

1

you can try $("[href!='www.example.com']").

RevanthKrishnaKumar V.
  • 1,855
  • 1
  • 21
  • 34
Mustafa ASAN
  • 3,747
  • 2
  • 23
  • 34