Valid "dd.mm(.y+)?" Date (customisable delimiter)
This Python regex validates dates with the format "dd.mm(.y+)?", so the year is optional and can be from 0 (even though nonexistent) to infinite. Leap years are supported and delimiter can be customised in the 'del' capture group. The capture group 'd', 'm', and 'y' are where the day, month and year...
Submitted by Syumza - 2 months ago