匹配中文:[\u4e00-\u9fa5]*。

示例:MatchCollection var=  Regex.Matches("中国isguyoj国家", @"[\u4e00-\u9fa5]+");

var其中的值为"中国","国家".

匹配英文[a-zA-Z]*

示例:MatchCollection var= Regex.Matches("中国isguyoj国家", @"[a-zA-Z]*");

var其中的值为"isguyoj".

相关文章:

  • 2021-09-30
  • 2021-08-11
  • 2022-12-23
  • 2022-12-23
  • 2022-02-16
  • 2022-12-23
  • 2022-12-23
  • 2022-02-09
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-03-02
  • 2022-12-23
  • 2022-02-07
  • 2022-01-01
  • 2021-08-03
相关资源
相似解决方案