How to check if a string starts with a pattern?
The example below demonstrate the
Matcher.lookingAt() method to check if a string starts with a pattern represented by the
The following country names is printed as the result of the program above:
Country name which have the pattern of ^I.[ae]: