标签:ida turn write pre contains nbsp ber char test
You need to write regex that will validate a password to make sure it meets the follwing criteria:
function validate(password) { return /^(?=.*\d)(?=.*[a-z])(?=.*[A-Z])[a-zA-Z0-9]{6,}$/.test(password); }
标签:ida turn write pre contains nbsp ber char test
原文地址:http://www.cnblogs.com/bldf/p/6351509.html