Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Reg expression on day

by flounder99 (Friar)
on Dec 23, 2003 at 17:59 UTC ( #316667=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    s!/0?(\d+)/!/$1/!
    
  2. or download this
    s!0?(\d+)/0?(\d+)!$1/$2!
    
  3. or download this
    use strict;
    for ('12/09/2003', '12/10/2003', '01/01/2004') {
    ...
    Before: 01/01/2004
    Leading zero off of day: 01/1/2004
    Leading zero off of month and day: 1/1/2004
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2023-06-03 01:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How often do you go to conferences?






    Results (6 votes). Check out past polls.

    Notices?