awk

How to extract all the lines of a file between two specific strings

awk '/[Starting string pattern to match]/,/[Ending string pattern to match]/' [filename]

(Solution found here), or even better, use the csplit command! see:
man csplit