From: Pierre Pat Date: 2008-12-18T14:18:08+09:00 Subject: Re: Array problem if you are like me an ignorant of regex, you could try this array.delete_if { |elem| elem.index_of(".bmp") + 4 = elem.size} though I don't have an interpreter at the moment, so it hasn't been tested... -- Posted via http://www.ruby-forum.com/.