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

Accessing Captured Text with group(int)

Use Matcher.group(int) to retrieve the text matched by a specific capturing group after a successful match.

This lesson is for subscribers

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