eregi_replace depreciated im still lost
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/8679656/deprecated-function-eregi-replace">Deprecated: Function eregi_replace()</a>  </p>
</blockquote>



<p>i have an error that reads:</p>

<p>Deprecated: Function ereg_replace() is deprecated in /home/socia125/public_html/wi_class_files/autoMakeLinks.php on line 26</p>

<p>my code is here any help is appreciated...im stumped \</p>

<pre><code>&lt;?php

    class autoActiveLink {

    function makeActiveLink($originalString){

        $newString = ereg_replace("[[:alpha:]]+://[^&lt;&gt;[:space:]]+[[:alnum:]/]","&lt;a 

        href=\"\\0\" target=\"_blank\"&gt;\\0&lt;/a&gt;", $originalString);
        return $newString;
    }

}
?&gt;
</code></pre>
