当前位置:网站首页>JS verify complex password
JS verify complex password
2022-07-26 22:03:00 【-Geng Rui-】
The verification of special symbols is abandoned here Because most passwords in the system we developed do not support special symbols It will cause bad encryption and parsing on the back end
export function checkpassword(value){
return /^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)[^]{8,16}$/.test(value)
};
This method verification User password must contain One or more large and small letters One or more capital letters One or more numbers And not less than 8 position
边栏推荐
- matlab 画短时能量图
- 按图搜索义乌购商品(拍立淘) API
- JMeter自定义日志与日志分析
- Triangular wave spectrum of MATLAB excitation model
- Tester: "I have five years of testing experience" HR: "no, you just used one year of work experience for five years."
- JDBC operation and entry case of MySQL
- The combobox of easyUI selects the first option by default
- Go -- go language naming specification
- Logical vulnerability - arbitrary account registration
- Knowledge base tools | wechat, document center, image display page can be generated by dragging (with template, directly used)
猜你喜欢
随机推荐
matlab 画短时能量图
Isilon 的OneFs常见操作命令(一)
Huawei released the top ten trends in 2025: 5g, robot, AI, etc
Finding a new direction for the development of digital retail is the key to ensure that digital retail can enter a new stage of development
Happens-Before原则深入解读
FreeRTOS个人笔记-事件
Overview of MPLS Basics
Can you use redis? Then come and learn about redis protocol
测试员:“我有五年测试经验”HR: “不,你只是把一年的工作经验用了五年”
Go --- identifiers and keywords in go language
一篇让小百彻底搞懂性能调优
The combobox of easyUI selects the first option by default
Japan approves the export of EUV photoresist to South Korea, and the crisis of Samsung and SK Hynix may be alleviated
The principle of normal equation method and its difference from gradient descent method
In depth interpretation of happens before principle
Implementation of MATLAB short-time autocorrelation
OPPO 自研大规模知识图谱及其在数智工程中的应用
Attack and defense world ----- ics-07
Vi和Vim文本编辑器
Knowledge base tools | wechat, document center, image display page can be generated by dragging (with template, directly used)


![[MySql]substr用法-查询表的某个字段的具体位数的值](/img/d5/68658ff15f204dc97abfe7c9e6b354.png)






