正则匹配中文 发表于 2020-11-13 分类于 数据开发 本文字数: 150 阅读时长 ≈ 1 分钟 正则匹配中文12345import retitle = '你好,hello,世界'pattern = re.compile(r'[\u4e00-\u9fa5]+')result = pattern.findall(title)print(result) -------------本文结束感谢您的阅读------------- Related Posts By Tag Python调用C语言 面向对象(Python) 设计模式 Logging基础 面向对象(Python)