I have a big text file with SQL query in between blocks of EXEC SQL --- END-EXEC.
I need everything in-between EXEC SQL --- END-EXEC. keywords. Sample Input is below
Or:
(?<=\*\*EXEC SQL\*\*)[\s\S]*(?=\*\*END-EXEC\*\*)
With multiline mode