Print only the matching group in Perl
New to topics? Read the documentation here!
Print only the matching group in Perl by Ciro Santilli 34 Updated 2024-12-15 +Created 1970-01-01
stackoverflow.com/questions/5617314/perl-regex-print-the-matched-value/5617355#5617355
perl -lne 'print for /mykey=(\d+)/'