There are several classes for regular expressions. Look at the java.util.regex package.
Type: Posts; User: Norm
There are several classes for regular expressions. Look at the java.util.regex package.
Using the StringReader class as I suggest saves everyone from entering test data with the keyboard.
The "responses" are what you type into the console with the keyboard when you execute the program...
The code at line 164 used an index past the end of the array.
Remember that array indexs range from 0 to the array length-1
A suggestion for easier testing and to make sure all testers are using...
Please copy the full text of the error message and paste it here.