in reply to Print word from text file that is not an exact match

Hi TonyNY,

NetWallah gave you already an excellent answer, additionally here are some links that you may want to check out:

Official docs:

https://perldoc.perl.org/perlre.html#Capture-groups

https://perldoc.perl.org/perlretut.html#Named-backreferences

A bit 'easier' explanations to start with and a cheat-sheet:

https://perlmaven.com/how-to-extract-strings-from-a-file

https://perlmaven.com/regex-cheat-sheet

  • Comment on Re: Print word from text file that is not an exact match

Replies are listed 'Best First'.
Re^2: Print word from text file that is not an exact match
by TonyNY (Beadle) on Jun 09, 2018 at 17:39 UTC
    Hi Veltro, Thanks so much for the links. I will definitely check them out while I continue to learn from my O'Reilly Learning Perl book. Regards, Tony