本文共 85 字,大约阅读时间需要 1 分钟。
/^[\u4e00-\u9fa5]{2,4}$/gi.test() 匹配中文正则
转载于:https://my.oschina.net/fedde/blog/211852