var str='aaaaa11111'; if (!/^[A-Za-z0-9]*$/.test(str)) { alert("你只能输入数字或字母!"); }else{ alert("通过!"); }
87,992
社区成员
224,685
社区内容
加载中
试试用AI创作助手写篇文章吧