in reply to Paragraph mode??

Maybe just setting your "record separator" ($/) to Metadata: 1114890 will give you what you want? Otherwise, you will need to show a bit of code and a bit of representative data. Potentially two nested loops might also help, one outer loop to process the records and one inner loop to collect lines up to the next /Metadata/.