From: Paul Shapiro Date: 2009-06-22T22:30:40+09:00 Subject: Re: if column header contain regexp, delete column >:s31_which_best_describes_how_you_answered_the_online_reading_comprehension_quiz > > Thus the Regexp needs to be adapted accordingly. Here's one you might > try: > > /\AS\d+/i > > Hope that helps. > > James Edward Gray II I'm guessing it was incorrect to assume that the delete statement would write out to the file? How would I do that. It prints correctly. -- Posted via http://www.ruby-forum.com/.