JavaScript regular check whether the password is legal

From , 4 Years ago, written in JavaScript, viewed 54 times.
URL https://pastebin.vip/view/6c90885b
  1. function CheckPasswd(s)
  2. {
  3. var patrn=/^(\w){6,20}$/;
  4. if (!patrn.exec(s)) return false
  5. return true
  6. }

Reply to "JavaScript regular check whether the password is legal"

Here you can reply to the paste above

captcha

https://burned.cc - Burn After Reading Website