Wrap a nodeValue
<p>I try to wrap a text in this code</p>

<pre><code>&lt;div class="div"&gt;
    &lt;span&gt;&lt;/span&gt;
    &lt;a&gt;&lt;/a&gt;
    *text I want to wrap*
    &lt;span&gt;&lt;/span&gt;
&lt;/div&gt;
</code></pre>

<p>I know what the text is, but I can't know what is his position in the div</p>

<pre><code>$(".div:contains('*text*')")
</code></pre>

<p>I get the right div like that, but I can't figure out how to wrap my text</p>
