Hi,
For checking the dates I'd use GT::Date - if you click the help link in the admin panel I think you will find the appropriate documentation.
As for the regex, try:
/^\d{4}-\d\d-\d\d$/
...that will check the formatting but won't check for valid dates.
For checking the dates I'd use GT::Date - if you click the help link in the admin panel I think you will find the appropriate documentation.
As for the regex, try:
/^\d{4}-\d\d-\d\d$/
...that will check the formatting but won't check for valid dates.