Find the character sequence given a word