 <p>This will search all the div's on the page for the text contained in <code>platformString</code> and wrap them in tags.</p> <pre><code>var platformString = "replaceMe"; $('div').html(function() { return $(this).html().replace(new RegExp(platformString, "ig"), '&lt;strong&gt;$&amp;&lt;/strong&gt;')); }); </code></pre> <p>It's similar to "highlighting" just replace <code>&lt;strong&gt;</code> with another kind of tag you wish to use.. maybe a <code>&lt;span&gt;</code> with a class for some custom effects?</p> <p>EDIT: replace <code>searchString</code> with <code>$&amp;</code> - matches the searched text and preserves capitalization</p>