eregi_replace is a deprecated function.

"eregi_replace() is deprecated as of PHP 5.3.0. preg_replace() with the i (PCRE_CASELESS) modifier is the suggested alternative."

http://us2.php.net/manual/en/function.eregi-replace.php