Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Re: Reg expression on day

by boo_radley (Parson)
on Dec 23, 2003 at 18:29 UTC ( #316676=note: print w/replies, xml ) Need Help??


in reply to Re: Reg expression on day
in thread Reg expression on day

you can replace
$date =~ s!0?(\d+)/0?(\d+)!$1/$2!;
with
$date =~ s!0?(\d+/)!$1!g;
for month and day.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://316676]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2019-05-26 12:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you enjoy 3D movies?



    Results (153 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!