From: Justin To Date: 2008-06-20T08:16:37+09:00 Subject: Re: RegEx /^(100(\.0{1,2})?|(\d{1,2})?(\.\d{1,2})?)$/ works Martin, but I made a mistake, I actually want the number at 0.00 to be just 0 and at 100.00 just 100... what alteration to your regex would have to be made? -- Posted via http://www.ruby-forum.com/.