in reply to Re^2: Extract a small part of a long sentence using regular expressions
in thread Extract a small part of a long sentence using regular expressions

This worked like a charm! Thank you. I have now learnt what a 'named backreference' is and what it can do and also how magical the incrementer  my $k = 'a'; can be!
  • Comment on Re^3: Extract a small part of a long sentence using regular expressions
  • Download Code