in reply to Re: Reg expression on day
in thread Reg expression on day
you can replace
with$date =~ s!0?(\d+)/0?(\d+)!$1/$2!;
for month and day.$date =~ s!0?(\d+/)!$1!g;
|
---|
In Section
Seekers of Perl Wisdom