in reply to Re: grep fields
in thread grep fields

If each field is seperated by a ":" then use the following
my @goodrecs = grep {$_=~/(.*:){3}foo@foobar.com/} @recs