$date =~ /(\d\d?)\/(\d\d?)\/(\d{4})/;
I would prefer
$date =~ m{(\d\d?)/(\d\d?)/(\d{4})};
to avoid having to keep escaping the date separators.
Cheers,
JohnGG
In reply to Re: Matching Date
by johngg
in thread Matching Date
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |