I found a solution for VB.NET.
Replace this:
\s(?<!End )Try((.|\r\n)+?)Catch(.|\r\n)+?(Finally((.|\r\n)+?)End Try|End Try)
... with this:
$1$5
It will delete the entire try / catch block, leaving only what was in the try and finally block. However, it does not work with nested attempts / catches, so you need to replace the nested blocks first and then block the latter.
oscilatingcretin
source share