Mon, 2008-02-11 15:49 — carlos
this will allow names like:
Jon Doe ---- Jørn ---- Mc'Neelan
match names and dis-allow any attempts to send evil characters. In particular, it tries to allow non-english names by allowing unicode characters.
[code]^([ \u00c0-\u01ffa-zA-Z'])+$[/code]
example of use:
ErrorMessage="invalid name" ControlToValidate="txtLName" Display="None" ValidationExpression="^([ \u00c0-\u01ffa-zA-Z'])+$">