Convert text url into clickable links
<p>i have been running around in circles with this situation, i already tried all the answers that i found in stackoverflow and tried to use linkify aswell but with no success, can't make it work and i would rather NOT have to use any Javascript libraries, jquery, mootools etc...</p>

<p>So here is what i am trying to achieve;</p>

<p>I have a comment section for each of my posts and i want that each time a user posts a url in his comment:</p>

<pre><code>&lt;div id="container"&gt;
Nice, here is the respective link that you were asking for: www.linkforanywebsite.com
&lt;/div&gt;
</code></pre>

<p>turns into this:</p>

<pre><code>&lt;div id="container"&gt;
Nice, here is the respective link that you were asking for: &lt;a href="www.linkforanywebsite.com"&gt;www.linkforanywebsite.com&lt;/a&gt;
&lt;/div&gt;
</code></pre>

<p>Any guide/jsfiddle working example are very appreciated</p>

<p>Thank you for your time and help!</p>
