MatchResult group(int) method in Java with Examples
The group(int group) method of MatchResult Interface is used to get the group index of the match result already done, from the specified group. Syntax: public String group(int group) Parameters: This method takes a parameter group which is the group from which the group index of the matched pattern