use strpbrk(3) to search for characters from a given set