ereg('pattern', $string, $matches) à»ç¹ preg_match('/pattern/', $string, $matches) eregi('pattern', $string, $matches) à»ç¹ preg_match('/pattern/i', $string, $matches)à»ÅÕè¹
ereg_replace('pattern', $string, $matches) à»ç¹ preg_replace('/pattern/', $string, $matches) eregi_replace('pattern', $string, $matches) à»ç¹ preg_replace('/pattern/i', $string, $matches)