in reply to Re^5: Non-greedy substitution
in thread Non-greedy substitution

Since this is a recurring question, what helped the most? :)

This bit was the lightbulb 💡

the regex-engine tries to find a solution step by step: