in reply to Re^5: Matching range of text with another string in betweenin thread Matching range of text with another string in between
Note that you read the first 14 lines from <> and the middle data from $fhi, and the last 3 lines from F ?