I am trying to use Regex to search between the start of the report to the start of the next report further down the same file, capture the report as a whole, then use that to search for duplicates, and remove them.
They are broken up by CRLFs and I thought I was smart by doing (\r\n).*(\r\n) to capture report, find, delete, repeat for next report.
When I do (\r\n).*(\r\n) it captures from the next CRLF to the last CRLF in the file.
I cannot for the life of me figure out how to limit the search to just one instance of the first line of the report, the ~30 lines of the body, then the end of the report.