As an example take this chunk:
The cat sat on the
mat, and the dog
could not get his place infront of the fire.
I have an expression to match a string between two strings, and return just the contents between:
put "(?<=\The cat)(.*)(?=\the)" into myreg
returns: cat sat on
How can i expand this to match across multiple lines..? To obtain this from the code:
put "(?<=\The cat)(.*)(?=\fire)" into myreg
so i want:
cat sat on the mat, and the dog could not get his place in front of the