JSFiddle - React, Tailwind, and code Playground

by fenderistic

HTML

<a href="http://www.goto.com">www.goto.com</a>
<a href="http://www.foto.com">www.foto.com</a>
<a href="http://www.abc.com">www.abc.com</a>
<a href="http://www.xyz.com">www.xyz.com</a>
<a href="http://www.mymy.com">www.mymy.com</a>
<a href="http://www.youryour.com">www.youryour.com</a>
<a href="http://www.penny.com">www.penny.com</a>
<a href="http://www.jack.com">www.jack.com</a>
<a href="http://www.kurt.com">www.kurt.com</a>
<a href="http://www.loop.com">www.loop.com</a>

JavaScript

$('a').filter(function() {
    // I want to eleminate www.goto.com, www.foto.com
    // and 10 more links
    return this.href.match(/(goto|foto|anyotherstring)/g);
}).remove();

$('a').each(function(){
    this.addClass("highlite");
});
//add