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 [download]
Regards,