in reply to Extracting Strings - Special Cases

http://perldoc.perl.org/perlintro.html#Regular-expressions and http://perldoc.perl.org/perlrequick.html#Extracting-matches