What is the opposite of Jquery .not - OR - How to I target href links that contain the following
<p>Right. So here we go. </p>

<p>I am currently using the following code to target all links and apply an iframe toolbar</p>

<pre><code>$("a[href^='http:']").not("[href*='www.domiain.com']").not("[href*='www.twitter.com']").each(function(){ 
 var tempurl = 'http://www.domain.com/shiftbar/shiftbar.html?iframe=';
 var $this = $(this);
 var currenturl = this.getAttribute("href");
    var href = tempurl + currenturl;
 $this.attr('href', href ); 
});
</code></pre>

<p>I need to do the same, but now for links that ONLY contain twitter</p>

<pre><code>$("a[href^='http:']").contains("[href*='www.twitter.com']").each(function(){ 
 $this.attr("target", "_blank");
});
</code></pre>

<p>it doesn't work. I've tried</p>

<pre><code>.has
.contains
</code></pre>

<p>But I suppose I am not familiar with jquery enough at this point. </p>
