in reply to
Validating date
Replace the
\d{1,4}
with
\d{2}(?:\d{2})?
, ie two digits of the year followed by an optional further two digits
Comment on
Re: Validating date
Select
or
Download
Code
In Section
Seekers of Perl Wisdom