For example
(?<=This is)(.*)(?=sentence) I used lookbehind (?<=) and look ahead (?=) so that "This is" and "sentence" is not included in the match, but this is up to your use case.
The important thing here is that you activate the "dotall" mode of your regex engine, so that the . is matching the newline. But this depends on your regex engine.