• I understand that REGEX is a pain but I can’t understand why this isn’t working for date. It keeps setting the date to 1970.

    ^(0[1-9]|[12][0-9]|3[01])[- /.](0[1-9]|1[012])[- /.](19|20)\d\d$

    ^(0[1-9]|[12][0-9]|3[01])[- /.](0[1-9]|1[012])[- /.](19|20)\d\d$/#|

    Also, is it possible to have some sort of MASK over the input field saying “DD/MM/YYYY” to give the user a fighting chance?

    https://www.ads-software.com/plugins/participants-database/

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘REGEX help needed & MASK’ is closed to new replies.