On regex capturing groups
How to use capturing groups to check for text previously matched in the string
Tags: todayilearned, regex, tips