Javascript String CheckPassword()

Description

Javascript String CheckPassword()

String.prototype.CheckPassword = function(){
    var reg = /^(?=.*?[a-zA-Z])(?=.*?[0-6])[!"#$%&'()*+,\-./:;<=>?@\[\\\]^_`{|}~A-Za-z0-9]{6,16}$/;
    return reg.test(this);
};



PreviousNext

Related