This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 9947
    
161

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: 9947
    
161

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
 
Similar Threads
Can i Use my action to throw error
Separating the business logic from the gui components
Design advice needed. Data validation
where to validate username password in struts