How do I select elements based on all their content in jQuery?
<p>I have a series of <code>&lt;div/&gt;</code>'s as follows:</p>

<pre><code>&lt;div&gt;.co.uk&lt;/div&gt;  
&lt;div&gt;.com&lt;/div&gt;  
&lt;div&gt;.gb.com&lt;/div&gt;  
&lt;div&gt;.uk.com&lt;/div&gt;  
&lt;div&gt;.net&lt;/div&gt;
</code></pre>

<p>How do I select just the divs containing <code>.co.uk</code>, <code>.com</code>, <code>.net</code>.</p>

<p>If I use:</p>

<pre><code>$('div:contains(".co.uk"), div:contains(".com"), div:contains(".net")`)
</code></pre>

<p>This causes the <code>.gb.com</code> and <code>.uk.com</code> divs to be selected as well.</p>
