If all you want are words that begin with capital letters, it's much easier to not use your own regex and simply use the Scanner.next() method to get the word, at which point you can check to see if...