Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Reg expression on day

by Roy Johnson (Monsignor)
on Dec 23, 2003 at 17:19 UTC ( [id://316655]=note: print w/replies, xml ) Need Help??


in reply to Reg expression on day

s!/0!/!

Update:
To remove all leading zeroes (day, month, and year):
s/\b0//g


The PerlMonk tr/// Advocate

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (None)
    As of 2024-04-25 01:53 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found