There is a library for a utility called textfinder that can be used to get data out of a text stream. If the number of lines in the header is constant, you might count the line feed characters and save the text between the 13th and 14th line feed characters.