lizzy:/tmp# cat x a = %w{aap noot mies} p a.grep(/a/) lizzy:/tmp# ruby x ["aap"] Now how do I retrieve those array elements that do not match /a/? In Perl one can say @a = grep(!/a/, qw(aap noot mies)); does Ruby have a similar shortcut? Thanks, -- Jos Backus _/ _/_/_/ Santa Clara, CA _/ _/ _/ _/ _/_/_/ _/ _/ _/ _/ josb / cncdsl.com _/_/ _/_/_/ use Std::Disclaimer;