Regex for all alphabets

后端 未结 3 593
孤街浪徒
孤街浪徒 2021-01-24 03:11

i need a regex for all alphabets. I have an input and target text. Both of them can be belong different alphabets. I mean they can be belong chinese, latin, cyrillic and any oth

3条回答
  •  执念已碎
    2021-01-24 03:35

    Some regex engines support special character for all Unicode letters:

    \p{L}
    

    Or you can use \w - letter, digit, underscore

提交回复
热议问题