Convert text url to a clickable url
<p>I am allowing people to post comments using a textarea field and sometimes they post urls. What I need to do is to convert this url from db before displaying it as a real clickable link, but without allowing html tags. I would prefer to do it using php or jquery if possible. I thought about using something like [link][/link] but I need to do it without any extra effort from the website member. Any ideas please??</p>

<p>example :</p>

<pre><code>[link]http://www.google.com[/link]
</code></pre>
