title: Find word on page, wrap in span tags with class
body: <p>I would like to Find word on page, wrap in span tags with class. before proceeding to execute a javascript i have almost got ready.</p>
  
  <p>If i can work out how to just do this first part i think i can get the rest.</p>
  
  <p>Find word on page, wrap in span tags with a class applied to the span tags.
  Must then be searchable via:</p>
  
  <pre><code>     $(document).ready(function(){
  
  var injectionKey = /%id=inject%/ig;
  var injectionStack = $('#%id%').html();
  
        (function($) {
    var theInjectionPage = $("span.myclass");
    theInjectionPage.html(theInjectionPage.html().replace(injectionKey, injectionStack)); 
  })(jQuery)
  
  
      });
  </code></pre>