莫菲    

0

1-20位英文或数字 :'字符串'.match(/^([a-z]|\d){1,20}$/)2.1-20 位 中文、数字或字符:'字符串'.match(/^([\u4E00-\u9FA3]|\w){1,20}$/)

7年前发布  · 1024 次阅读