Author Topic: Filter non English input characters string  (Read 24225 times)

Offline admin

  • Administrator
  • Sr. Member
  • *****
  • Posts: 296
    • View Profile
Filter non English input characters string
« on: December 09, 2008, 03:51:45 PM »
If you'd like to filter input text to be only English alphanumeric characters with space, ".", "-", and "_"
you can use the following regular expression with any programming language.

Code: [Select]
^[a-zA-Z0-9\s.\-_]+$
for more information about Regular expression read this:
http://developers-heaven.net/forum/index.php/topic,109.msg200/topicseen.html#msg200