Remove unneeded preg_match