js regular password enter the combination of 6 to 18 letters, numbers, symbols

{Pattern: / ^ (= * [@ # $% ^ & * () <>, (= * [0-9]?.) (= * [A-zA-Z]?.)?.!.? !.? -_ + = `~]) [0-9a-zA-Z @ # $% ^ & * () <>, -_ + =` ~] {6,18} $ /, message: 'Please 6 to 18 the input password combination of letters, numbers, symbols', trigger: [ 'blur', 'change']}

Guess you like

Origin www.cnblogs.com/alone2015/p/12091466.html