/^(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/.