Highlight matching text in javascript
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/6240139/highlight-text-range-using-javascript">Highlight text range using JavaScript</a><br>
  <a href="http://stackoverflow.com/questions/9794851/find-text-string-in-jquery-and-make-it-bold">Find text string in jQuery and make it bold</a>  </p>
</blockquote>



<p>Supposing I have a bunch of file paths, similar to:</p>

<ul>
<li><p>/Volumes/A//Array/05_SCRIPTS/staging/tree/04_OUTPUTS/MPEG_FF_PS_wCropping/01_NBC_Youtube/Backlog/Archive/LawAndOrder_S20</p></li>
<li><p>/Volumes/A//AArray/05_SCRIPTS/staging/tree/04_OUTPUTS/MPEG_FF_PS_wCropping/01_NBC_Youtube/Backlog/Archive/LawAndOrder_S20/nbcnetwork-pds-E8818-US-insert-20121020</p></li>
</ul>

<p>How would I highlight all matches of specific text on the page. For example, if <code>"04"</code> was what I was looking for, it would do something like:</p>

<pre><code>$(source).find('04').addClass('highlight');
</code></pre>

<p>This is pseudocode that is probably way off the mark, but this is what I'm looking to do.</p>
