Hi all, I am using the below regular expression to extract the text between Obligations and Renewal.
(?<=Obligations\s*)[\s\S]*?(?=\s*Renewal)

Now, I would also like to get rid of those highlighted words too. How do I adjust the above code snippet to achieve the result?

The output should be

Many thanks