I have a series of <div/>
's as follows:
<div>.co.uk</div>
<div>.com</div>
<div>.gb.com</div>
<div>.uk.com</div>
<div>.net</div>
How do I select just the divs containing .co.uk
, .com
, .net
.
If I use:
$('div:contains(".co.uk"), div:contains(".com"), div:contains(".net")`)
This causes the .gb.com
and .uk.com
divs to be selected as well.