Simon Macneall wrote:
> Perhaps it's best if you try, and then if you fail ask the question?
> Otherwise you will be asking on the list everytime you need a regular
> expression
> 
> I recomment the following
> http://www.addedbytes.com/cheat-sheets/regular-expressions-cheat-sheet/
> 
> Simon
> 
> On Sat, 20 Jun 2009 13:44:15 +0800, Newb Newb

Sorry for my ignorance,,,,
actually i tried but i dont know how limit the input upto two digits...
that is i Should limit the input to two digits in the field.
it should accept 20 and 5 but not 120...
that s my confusion...
Thanks for ur Reply
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to