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 <[email protected]> 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 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

