select an img which does not contain word in src

jquery, selector

Solution

$('img:not([src*="/tracker/"])')...

- The selector should be a string.

LIVE DEMO

Problem

If i have the 4 images ``` <img src="img/tracker/"/> <img src="img/tracked/"/> <img src="img/tracking/"/> <img src="img/track/"/> ``` how can i select the last 3 images by using src does not contain I have tried `$(img:not([src*="/tracker/"]))`

Original source