Expression:
^(??:31(\/|-|\.)(?:0?[13578]|1[02]))\1|(??:29|30)(\/|-|\.)(?:0?[1,3-9]|1[0-2])\2))(??:1[6-9]|[2-9]\d)?\d{2})$|^(?:29(\/|-|\.)0?2\3(???:1[6-9]|[2-9]\d)?(?:0[48]|[2468][048]|[13579][26])|(??:16|[2468][048]|[3579][26])00))))$|^(?:0?[1-9]|1\d|2[0-8])(\/|-|\.)(??:0?[1-9])|(?:1[0-2]))\4(??:1[6-9]|[2-9]\d)?\d{2})$


Description:
This expression validates dates in the ITALIAN d/m/y format from 1/1/1600 - 31/12/9999. The days are validated for the given month and year. Leap years are validated for all 4 digits years from 1600-9999, and all 2 digits years except 00 since it could b ...

Matches: [29/02/1972], [5-9-98], [10-11-2002]
Non-Matches: [29/02/2003], [12/13/2002], [1-1-1500]

ciao a tutti, visto che sto impazzendo per fare una modifica del cavolo ceh non mi riesce, chiedo aiuto a voi.

Io vorrei escludere le date con il "-" e validare solo quelle con "/"


chi mi aiuta?