From: Justin To Date: 2008-06-26T08:06:49+09:00 Subject: RegEx Question Hi, my practice program is suppose to read in versions like: 4.0 v4. 5 v 4.23 ^each = p t="v" p.gsub(/[^(v)]/i) {|m| t.concat(m)} how do I, in the regEx, ignore white spaces? I want the output to look like this: v4.0 v4.5 v4.23 Thanks! -- Posted via http://www.ruby-forum.com/.