CS2121 lab exercise 1 part a3 - hint

I don't care if the rest of the line is letters or not, as long as the first character is an upper-case letter e.g.
A
A38
Ardvark
A-silly-phrase
Angus's
should all be matched, but
another-VERY-silly-phrase
macAdam
should not.
Try thinking about the problem again. Start by thinking about what you want to achieve and how you might go about achieving it, even if you don't know exactly how to write it down.

If you are still stuck, here are some more hints