From: Ne Scripter Date: 2009-09-03T16:37:45+09:00 Subject: Re: Reg Ex exclusion Thanks all for your help. I went for the regular expression in the end for consistency with other code. Thanks a lot Tlb Fpx wrote: > Josh Cheek wrote: >> Use sub or sub! "joe|blogg|clothing|".sub(/\|$/,'') >> >> On Wed, Sep 2, 2009 at 11:17 AM, Ne Scripter < > > thanks -- Posted via http://www.ruby-forum.com/.