Multip Linex text replacement problem - Greedy match??

Jun 19, 2016 at 11:40 AM
I have a text file with multiple Begin... End blocks in it spread over multiple lines.

Initially I wish to find all Begin ... End blocks

When I put Begin.*End into the search box (and tick the Regular expression box) it only finds 1 match even though there are many Begin ... End blocks in the file.

The only thing I can think of is that it is greedily matching the first Begin with the Last End in the file so finding only 1 instance.

Perhaps I am missing something simple but can anyone tell me where I am going wrong please?