sed -n START_LINE,FINISH_LINEp filename > newfile
to extract a specified range of text from a text file, e.g.
sed -n 45,50p datafile > newfile.
How can I use this to extract multiple portions of text which are always bordered by the same pattern of text? e.g. the text I want to extract always begins 39 lines down from
Subject:????? and ends immediately before
Start Date: ??/??/??.