Course contentsShow
Java
Lesson 2271 of 2,87044. Regular ExpressionsPro lesson

Using groupCount() to Determine Group Count

Call Matcher.groupCount() to find how many capturing groups are defined in your pattern.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.