in reply to grep items not matching an RE
The same way you reverse the sense of any other conditional. perldoc perlop, see ! and not.