javascript常用正则表达式合集第1/2页 校验是否全由数字组成 复制代码 代码如下: function isDigit(s) { var patrn= ^[0-9]{1,20}$ ; if (!pa 正则表达式 2022-04-20 195 点赞 2 评论 295 浏览