Use preg_match instead of eregi