js 获取字符串中的中文

it2022-05-05  96

string.replace(/[^\u4e00-\u9fa5]/gi,"")

转载于:https://www.cnblogs.com/ducky-L/p/7568555.html


最新回复(0)