I am actually a bit rusty with character classes, but I think that this....
Is the same as this....
So, basically, you are trying to match a single character, that is either a capital letter or a period.
Anyway, your solution is as Rob describes...
1) simply look for one capital letter, then use Matcher.find() 4 times
You just need to get rid of the period, as you don't want to match that.
Henry