正则匹配汉字

let isHanZi = /[u4E00-u9FA5]/g.test('你好');
console.log(isHanZi); // true
青云直上三千码
原文地址:https://www.cnblogs.com/djjlovedjj/p/14343293.html