문제

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