摘要:
String.charAt(num); 返回字符串中第num个字符 如果num过大或者不符合,则返回空 String.charCodeAt(num) 返回第num个字符的Unicode编码 String.concat(value1,value2,value3 ) 把value1,value2,val 阅读全文
posted @ 2017-04-26 11:21
_Eden
阅读(77)
评论(0)
推荐(0)
摘要:
1、校验密码强度密码的强度必须包含大小写字母和数字的组合,不能使用特殊字符,长度在8-10之间^(?=.*\\d)(?=.*[a-z])(?=.*[A-Z]).{8,10}$2、校验中文字符串只能是中文^[\\u4e00-\\u9fa5]{0,}$3、由数字,26个英文字母或下划线组成的字符串^\\ 阅读全文
posted @ 2017-04-26 11:18
_Eden
阅读(137)
评论(0)
推荐(0)

浙公网安备 33010602011771号