質問

I found many links about this, but none of them did not work me. I used \p{Letter}, it allowed space and digits.

I want Unicode Regular Expression for person name. Only letters like English, Latin, Russian, Chine and other Europe countries etc. languages, which does not allow digits, space and specally symbols. Can anybody help me? I will use that in jquery validation engine and in c# code.

役に立ちましたか?

解決

These are the W3C recommendations for dealing with personal names: http://www.w3.org/International/questions/qa-personal-names

I don't think you'll find regular expressions very useful for this. You would have to allow pretty much everything, except maybe strings that don't contain any letters at all.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top