[Solved] regex to check password consist of Character and Number [duplicate]


Simple: /^(?=.{8,32}$)(?=.*[a-z]).*\d/i (assuming you meant “letter” not “character”.)

solved regex to check password consist of Character and Number [duplicate]