• Hi!

    I’ve problem with fallowing regex:

    ^(?=.*[0-9]+.*)(?=.*[a-zA-Z]+.*)[0-9a-zA-Z]{8,}$

    and I need to validate a password field.
    Password must contain at least one letter, at least one number, and be longer than eight charaters.

    somebody have an idea what’s wrong with this regex?

    Regards

    https://ww.wp.xz.cn/plugins/si-contact-form/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi I am not too sure about regex entries but here is a link with many password regex. I am sure they will help you work out your issue.

    Regards

    Thread Starter sdrozdz

    (@sdrozdz)

    Hi
    First of all:

    Thank You for answer.

    I’ve used this regex from same side as You.

    I’ve also used a simply regex ^a$ to detect or reject issue with field and error message still occurs.

    I’ve no any idea what is wrong…

    Regards

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Regex and password problem’ is closed to new replies.