SyntaxFix
Write A Post
Hire A Developer
Questions
The following is a regular expression matching a multiline block of text:
import re result = re.findall('(startText)(.+)((?:\n.+)+)(endText)',input)