aspose file tools*
The moose likes JForum and the fly likes Validation of Ranch Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JForum
Bookmark "Validation of Ranch" Watch "Validation of Ranch" New topic
Author

Validation of Ranch

Kaustubh G Sharma
Ranch Hand

Joined: May 13, 2010
Posts: 1270

Not sure whether this is the right place to put this request, but anyways not able to figure out the correct place for it. Well is it possible to see the validation code used for JAVARANCH?? like I right now I am writing this request and want to know how you guys validate it for eg. not accepting chatting/SMS formats etc. etc. (Want to see some standard code and learn ) Is it possible???

Thanks
K


No Kaustubh No Fun, Know Kaustubh Know Fun..
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10046
    
163

It's not clear what exactly you are asking about.
Kaustubh G Sharma wrote: eg. not accepting chatting/SMS formats etc. etc. (Want to see some standard code and learn ) Is it possible???


Not accepting where?


[My Blog] [JavaRanch Journal]
Kaustubh G Sharma
Ranch Hand

Joined: May 13, 2010
Posts: 1270

Jaikiran Pai wrote:It's not clear what exactly you are asking about.
Kaustubh G Sharma wrote: eg. not accepting chatting/SMS formats etc. etc. (Want to see some standard code and learn ) Is it possible???


Not accepting where?


Hi Jai,

Like we are not allow to put short words that we generally do in chatting/sms.. eg. we write 'u' instead in you likewise
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10046
    
163

Moved to the right forum.

Like we are not allow to put short words that we generally do in chatting/sms.. eg. we write 'u' instead in you likewise


The code for that does a simple regex check against the post text. Here's a tutorial for regular expressions http://docs.oracle.com/javase/tutorial/essential/regex/
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Validation of Ranch