Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Validation of Ranch

 
Kaustubh G Sharma
Ranch Hand
Posts: 1283
Chrome Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?

 
Kaustubh G Sharma
Ranch Hand
Posts: 1283
Chrome Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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/
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic