How can I highlight a sentence that is spread over more than one tag
<p>If i have text some thing like below..  </p>

<pre><code>var str="Hi, How are you";
</code></pre>

<p>If i want to highlight this text in the below HTML in a single attempt rather than spliting it into an array. In document if my HTML is like below..  </p>

<pre><code>&lt;div&gt; Hi, &lt;span&gt;How are&lt;/span&gt; you&lt;/div&gt;
</code></pre>

<p>Please help me on this..I want to search the sentence in document and want to add highlighted effect to it.</p>
