Introduction
Capture groups help you find and save parts of text that match a pattern. You can use these saved parts later in your program.
Extracting a phone number from a text message.
Getting the username from an email address.
Finding dates in a document to use them separately.
Splitting a full name into first and last names.