in reply to Scanning a file for a match, printing different part of the line when found.

perlre
perlretut
and the numerous offerings at Pattern-Matching-Regular-Expressions-and-Parsing in our fine selection of Tutorials.
  • Comment on Re: Scanning a file for a match, printing different part of the line when found.