Help for this page
START $i MAY JUNE JULY END $j
perl -ne ' print if /START $i/ .. /END $j/' file.txt
START $i $i $j MAY $i $j JUNE $i $j JULY END $j