How to match the international alphabet (English a-z, + non English) with a regular expression?

前端 未结 6 598
夕颜
夕颜 2020-12-20 12:00

I want to allow only entered data from the English alphabet and from the alphabet from Germany.

Like öäü OR France like áê or Chinese like

6条回答
  •  南方客
    南方客 (楼主)
    2020-12-20 12:15

    In a lot languages, you can simply enter the unicode symbols into the character class: [a-zäöüß] etc.

提交回复
热议问题