Regex for alphanumeric password, with at least 1 number and character

前端 未结 6 1958
礼貌的吻别
礼貌的吻别 2020-12-18 13:02

Need help with a regex for alphanumeric password, with at least 1 number and character, and the length must be between 8-20 characters.

I have this but doesn\'t seem

6条回答
  •  孤城傲影
    2020-12-18 13:28

    Wouldn't it be better to do this validation with some simple string functions instead of trying to shoehorn a difficult to validate regex into doing this?

提交回复
热议问题