http://qs321.pair.com?node_id=1203161


in reply to Re^2: [Solved]Need to extract a particular block of lines between two patterns
in thread [Solved]Need to extract a particular block of lines between two patterns

Yes, it will skip the first block. It will exit the while loop (last if /^END$/) when it reaches the END for the second block.
  • Comment on Re^3: [Solved]Need to extract a particular block of lines between two patterns
  • Download Code