I want to remove in a html document with notepad++
everything between the marked area
So the Start point to remove is ( including )
.* is too greedy.
[\r\n]* will capture the whitespace after
Also, if you are only interested in matching
<img with subsequent line breaks, you can use another regex: