Regular expression to validate name n language other then english like Spanish..
Posted
by BT
on Stack Overflow
See other posts from Stack Overflow
or by BT
Published on 2010-04-12T10:24:41Z
Indexed on
2010/04/12
10:33 UTC
Read the original article
Hit count: 296
Hi, how can i write a regular expression to validate name field in a multilingual web application, i want to validate the name field for non-English languages e.g. Spanish or German, and we need to make sure that no one enter digits or special characters. I'm using .NET.
I believe we can't use expression as below for non-English language.
^[a-zA-Z]{1,20}$
Any help will be highly appreciated!
© Stack Overflow or respective owner