\d+ On Jun 19, 2009, at 10:44 PM, Newb Newb wrote:
> > hi friends.. > in my application i have number of days field. > it Should not allow user to input special characters in the > field.and it > Should not allow blank space in the Number of Days field. > what regular expression can i use... > Thanks a lot > -- > 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 rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---