摘要: https://deerchao.cn/tutorials/regex/regex.htm#getstarted 验证用户密码:"^[a-zA-Z]\w{5,17}$"正确格式为:以字母开头,长度在6~18之间,只能包含字符、数字和下划线。 \w 匹配:匹配字母或数字或下划线或汉字 阅读全文
posted @ 2020-05-29 16:44 newlangwen 阅读(119) 评论(0) 推荐(0) 编辑