From: Bil Kleb Date: 2006-10-11T22:40:07+09:00 Subject: Re: scanning strings, backward? Cameron, Gemma (UK) wrote: > I think Bil just wants to remove part of the line rather than all of it: > > > 3) Remove /dt/i > > i.e. > line.gsub!(/\/dt\/i/, '') Yes And sorry for the confusing example; I should have written, %r{/dt/i}. Regards, -- Bil Kleb http://fun3d.larc.nsaa.gov