Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I need to substitute a date entry if the day has a "0" as the beginning.
For example if I find this entry:
12/09/2003
I need it to be:
12/9/2003
Please advise:
s/^\d{2}\/(0)\d\/\d{4}//g;
Back to
Seekers of Perl Wisdom