Frederick Cheung wrote: > On Jun 20, 11:41�am, Newb Newb <[email protected]> > wrote: >> Hellow everyone... >> i have to validate a my folderpath field... >> could you people suggest any reqular expression to validate a valid >> path... >> that field should not accept input like �My Documents� >> but should accept �c:\Backup� > > You're going to have to be a little more precise: what is it that you > are trying to ensure? No spaces, no special characters, absolute paths > only, something else ? Also what about platforms where paths are > delimited in different ways ? What will you be doing with this path ? > > Fred
thanks for the reply in that folder path location i m going to save files. and i m on windows ... -- 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 -~----------~----~----~----~------~----~------~--~---

