Balance of eregi_replace to preg_replace changes