From: Justin To Date: 2008-06-26T08:21:24+09:00 Subject: Re: RegEx Question p.gsub(/[^(v| )]/i) {|m| t.concat(m)} Oh, I got it... but now I'm stuck on how to remove '.' if it's the last piece of the string e.g. "v4.5." I want to remove the last "." Thanks -- Posted via http://www.ruby-forum.com/.