How to write patter for password in JS

前端 未结 0 882
盖世英雄少女心
盖世英雄少女心 2020-12-17 05:02

I try to write regex which: apply A-Z, a-z 0-9 and -_ and only this syms. How could i write this regex?

function isValid(str) {
    return (str.length > 6          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题