in reply to Re: Contents b/w two given text
in thread Contents b/w two given text

I think you want a modifier as part of the regular expression if you want to match text that includes a line break.