Regex Issues

Home Forums Quform WordPress Regex Issues

This topic is: not resolved
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #34501
    blueboar
    Participant

    Hi,

    I have a form which should accept 2 types of codes

    XX12345Y
    or
    XX12345

    I have tried to filter this on the form with the following regex filters but either the form rejects the string saying this field is required

    /[A-Z]{2}\w{5,6}/
    /[A-Z]{2}[0-9]{5}[A-Z]{0,1)}

    and some variations of the above but non works.

    Any ideas?

    #34505
    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Be inspired. © 2024 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy