RegEx not working

Home Forums Jquery Validation for Contact Form 7 RegEx not working

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #416601
    Marcos
    Guest

    Hi, I am unable to make RegEx validation work.
    I need to validate when user enters a valid password field using the following RegEX: ^(?=\w*\d)(?=\w*[A-Z])(?=\w*[a-z])\S{8,16}$
    But it doesn’t works, if I enter something with lowercase characters, numbers and a minimum length of 8 chars it doesn’t check if capital letters are entered.
    Could you please let me know how could I make it work?
    Best regards!

    #416797
    Dinesh
    Keymaster

    Hi Marcos,

    Can you please send me your form url where i can check this ? And also send me the password you are trying to validate.

    Thanks

    #416917
    Marcos
    Guest

    Hi Dinesh, I’ve finally developed a small script to do the RegExp validation.
    Thank you!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘RegEx not working’ is closed to new replies.