If you don’t want greedy quantifiers the solution is to use “lazy” quantifiers which are formed by following any of the standard quantifiers by a question mark, ?. To see this in action, change the ...