OurBigBook About$ Donate
 Sign in Sign up

Print only the matching group in Perl

Ciro Santilli (@cirosantilli, 37) ... Computer Software Programming language List of programming languages Perl (programming language) Perl HOWTO
Updated 2025-07-16  0 By others on same topic  0 Discussions Create my own version
stackoverflow.com/questions/5617314/perl-regex-print-the-matched-value/5617355#5617355
perl -lne 'print for /mykey=(\d+)/'

 Ancestors (10)

  1. Perl HOWTO
  2. Perl (programming language)
  3. List of programming languages
  4. Programming language
  5. Software
  6. Computer
  7. Information technology
  8. Area of technology
  9. Technology
  10.  Home

 View article source

 Discussion (0)

New discussion

There are no discussions about this article yet.

 Articles by others on the same topic (0)

There are currently no matching articles.
  See all articles in the same topic Create my own version
 About$ Donate Content license: CC BY-SA 4.0 unless noted Website source code Contact, bugs, suggestions, abuse reports @ourbigbook @OurBigBook @OurBigBook