on 08-02-2012 12:41 PM
Hi All,
I have a requirement to allow some and disallow some of the Latin special characters (such as Æ, Â) in the First/Last name when creating a new Identity.
After hours of research and testing I found this: ^(?:\p{L}\p{M}*|[\-a-zA-Z.ÂÃÄÄ])*$ but unfortunately it's not working properly.
Does anyone have done this before? I never used Reg. expression before so pls guide me through this requirement.
Many thanks.
Regards,
Ridouan
try
^[^()?:\p{L}\p{M}*|[\-a-zA-Z.ÂÃÄÄ]*
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.