How to make a weblink clickable when comments are made
<p>I need your help with making a weblink clickable when comments are made on mf website.. The code I have below does not achieve that. It only inserts (Code Not Shown), and the website is not clickable.</p>

<p>Thank you for your help.</p>

<pre><code>      $reg = "/(http|https|ftp|ftps|www)\:\/\/[a-zA-Z0-9\-\.]+\.[a-zA-Z]{2,3}(\/\S*)?/g";

  if(preg_match($reg, $comment, $url,))         
       { 

  $comment_body = preg_replace($reg, "&lt;a href = " .$url[0]. "&gt; $url[0] &lt;/a&gt; ", $comment);

                  }
</code></pre>
