Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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 scrutinizing the Monastery: (3)
As of 2022-01-21 01:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (57 votes). Check out past polls.

    Notices?