Parse textarea to return URL from content
<p>I have <code>textarea</code> containing one or more URLs, along with other text content. I want a JavaScript function to return the text content along with the correctly formatted URL with anchor tags.</p>

<p>Example contents:</p>

<pre><code>abcd http://stackoverflow.com xyz
</code></pre>

<p>I would like the function to return: </p>

<pre><code>  abcd &lt;a href="http://stackoverflow.com"&gt;http://stackoverflow.com&lt;/a&gt; xyz
</code></pre>

<p>What steps are needed to implement this request?</p>

<p>would be grateful for help.</p>
