How to Solve This Problem With Capture Groups?

Check out this:

And this:

2 Likes