For extracting everything between two different regular expression structures, I use this:
%%Different Regular Expressions%%(.*)%%Different Regular Expressions%%
The problem with using (.*)
is that it doesn't contain line breaks (\n*
). Is there any way to modify this structure or using a more efficient structure instead of this for extracting everything between two defined regular expressions?