title: Javascript Regex to replace text NOT in html attributes
body: <p>I'd like a Javascript Regex to wrap a given list of of words in a given start (<code>&lt;span&gt;</code>) and end tag (i.e. <code>&lt;/span&gt;</code>), but only if the word is actually "visible text" on the page, and not inside of an html attribute (such as a link's title tag, or inside of a <code>&lt;script&gt;&lt;/script&gt;</code> block.</p>
  
  <p>I've created a JS Fiddle with the basics setup:  <a href="http://jsfiddle.net/4YCR6/1/" rel="noreferrer">http://jsfiddle.net/4YCR6/1/</a></p>