Replaced an unneeded preg_match_all() with the more efficient strpos()