in reply to Re^2: Selecting particular key-value pairs in hashes
in thread Selecting particular key-value pairs in hashes

foreach (keys %hash) { delete($hash{$_}) if ($_ !~ /\d+_\d+/); }
Going to see if merlyn's example works on my version of Perl... Oh neat, it does. I think his trumps mine by a bit.