in reply to HELP-MULTILINE PATTERN MATCHING
perl -ln0777e'print /start:(.*?)end:/gs' input.txt [download]