Filter non English input characters string

Started by admin, December 09, 2008, 08:51:45 AM

Previous topic - Next topic

admin

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.

^[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