Do a string search if a bad regexp is entered