Introduction
Capture groups let you find and save parts of text that match a pattern. This helps you work with specific pieces of text easily.
Extract a username from an email address.
Get the date parts (year, month, day) from a filename.
Find and save phone number parts from a text.
Split a string into parts based on a pattern.
Check if a string matches a pattern and get details.