rebulid href tag from text with jquery
<p>I have this dynamic html:</p>

<pre><code>&lt;div class="msg_body"&gt;
&lt;p&gt;
some text... |URI=http://www.somesite.co.il/|some link|EURI| some text |URI=http://www.somesite.co.il/|some link|EURI| , some text...
&lt;/p&gt;
</code></pre>

<p></p>

<p>I need to extract the URI string and replace:</p>

<pre><code>1. |URI= with [&lt;a href"]
2. | with [&gt;] 
3. |EURI| with [&lt;/a&gt;]
</code></pre>

<p>so... I need it to bee like this:</p>

<pre><code>&lt;p&gt;some text... &lt;a href="http://www.somesite.co.il/" target="_blank"&gt;&lt;/a&gt;some link&lt;/a&gt; some text &lt;a href="http://www.somesite.co.il/" target="_blank"&gt;some link&lt;/a&gt; , some text...&lt;/p&gt;
</code></pre>

<p>I stack at this point:</p>

<pre><code>$('.msg_body').find('p').text().replace('|URI=','&lt;a href="');
</code></pre>

<p>How can i do it in jquery?</p>
