开发者

How to Validate the password using regular expression with Special Symbols, Characters and Numeric in Java Script

开发者 https://www.devze.com 2022-12-17 13:06 出处:网络
below Syntax var re = /(?开发者_如何学运维!^[0-9]$)(?!^[.|+(){}]$)(?!^[a-zA-Z]$)^([a-zA-Z0-9]{6,15})$/;

below Syntax var re = /(?开发者_如何学运维!^[0-9]$)(?!^[.|+(){}]$)(?!^[a-zA-Z]$)^([a-zA-Z0-9]{6,15})$/; But it doesn't validate the special symbols?


/(?!^[0-9]*$)(?!^[.|*+(){}\[\]]*$)(?!^[a-zA-Z]*$)^([a-zA-Z0-9.|*+(){}\[\]]{6,15})$/
0

精彩评论

暂无评论...
验证码 换一张
取 消