What would be regex for matching foreign characters?

后端 未结 3 1628
天涯浪人
天涯浪人 2020-12-07 01:25

I am dealing with developing and Application for European Client and they have their native character set.

Now I need to have regex which would allow foreign charac

3条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-07 02:04

    If all you want to match is letters (including "international" letters) you can use \p{L}.

    You can find some information on regex and Unicode here.

提交回复
热议问题