Detect repeated letters in a word.