Find All Instances of a String NOT Within HREF Tags? : I'm writing a JavaScript that goes through an html document and finds all instances of a keyword that are NOT links -- not within an HREF tag.  For example, let's take the following HTML and I'm looking for the keyword "laptops." 

    <p>I love laptops so much and these are <a href="mylink">some of my <i>favorite laptops</i></a>. Don't you love laptops also?</p>

So I need a way to return instances 1 and 3 here, but not number 2, because it is within a link. I'm not sure if the right way to do this is with a Regex (I can't figure out the right one for this) or iterating through the DOM or something. I can use either JQuery or straight JS.

