DEV Community

Discussion on: What are some Regular Expression concepts you find hard to grok?

Collapse
 
imthedeveloper profile image
ImTheDeveloper

Greedy / non-greedy lookback / forward.

Standard pattern matching I'm pretty good at now with regex but capture groups combined with multiple captures and the greedy stuff is a little crazy still.

I found using regexr.com really helpful as you can visualise quickly what's going on