-1

I want to build a form for the user to fill and submit.

There is a free text field.

How can i check the user didn't enter garbage, like: fhskdjfhjkdshfkjhsd

maybe like checking 3 random words are in English dictionary

or any other language i choose to check (Hebrew for the moment)

Elad Benda
  • 35,076
  • 87
  • 265
  • 471

1 Answers1

3

you could check out this library

https://code.google.com/p/language-detection/

or the ones mentioned in the answer to this question:

How to detect language of user entered text?

Community
  • 1
  • 1
stamanuel
  • 3,731
  • 1
  • 30
  • 45