in reply to find the string in the file and print its subsequent strings

Hint: Slurp the whole file into a string (See $/ in Special_Variables). Extract all your data with a single regex. (note: your example shows only seven fields, not eight) If you are still stuck, show us what you have.
Bill
  • Comment on Re: find the string in the file and print its subsequent strings