How to replace the urls into clickable links except anchor text & anchor href?
<pre><code>$str="hi this http://google.com   &lt;a href="http:
//yahoo.com"&gt;http://yahoo.com&lt;/a&gt;";
</code></pre>

<p>i want to convert <a href="http://google.com" rel="nofollow">http://google.com</a> to clickable link in above string but i don't want convert already anchor text &amp; anchor href.</p>

<p>how can i achieve that one using php / javascript?</p>
