Understanding regex (for beginners)
🌱 This post is in the growth phase. It may still be useful as it grows up.
Regex is difficult to master but easy to get started with. Knowing a few basics will help a ton
By default, regex will match the first instance of an exact pattern.
Sometimes you don’t want to capture everything in a match. Use paretnthesis to capture set the boundaries of a capture group.