CS2121 lab exercise 1 part a4 - hint

To find all words containing containing exactly one character, you have to write a pattern that matches the whole line, from start to end.