title: JQuery/Javascript - Search DOM for text and insert HTML
body: <p>How do I search the DOM for a certain string in the document's text (say, "cheese") then insert some HTML immediately after that string (say, "&lt; b >is fantastic&lt; /b >").</p>
  
  <p>I have tried the following:</p>
  
  <pre><code>for (var tag in document.innerHTML) {
      if (tag.matches(/cheese/) != undefined) {
          document.innerHTML.append(&lt;b&gt;is fantastic&lt;/b&gt;
      }
  }
  </code></pre>
  
  <p>(The above is more of an illustration of what I have tried, not the actual code. I expect the syntax is horribly wrong so please excuse any errors, they are not the problem).</p>
  
  <p>Cheers,</p>
  
  <p>Pete</p>