http://qs321.pair.com?node_id=575676


in reply to Best way to get all of the matches?

Hi,

Do you mean something like this?

perl -ne 'print "$1\n" if /(ima)/i' some.file

Regards,

fmerges at irc.freenode.net