From: Sijo Kg Date: 2008-05-08T17:33:31+09:00 Subject: Re: to check for numericality Hi Thanks for your reply It worked.At first I tried like if /^(\d)(\d)$/.match(@val) ==nil #But not worked..Anyway thanks Sijo -- Posted via http://www.ruby-forum.com/.