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

前端 未结 6 599
夕颜
夕颜 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:22

    With PCRE it would be \w, a "word" character. It also accepts Unicode when configured properly.

提交回复
热议问题