首页 > 技术文章 > js用正则表达式查找中文
IWings 2020-02-13 10:25 原文
var content = "awfjawf测试wfewef"; var ret = /\p{Unified_Ideograph}+/u.exec(content);