How to find if text contains url string
<p>How can i find if text contains url string, i men if i have</p>

<pre><code>Sometexthttp://daasddas some text
</code></pre>

<p>I want <strong>http://daasddas</strong> to be achored or maked as  a link wit javascript</p>
