Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Take out the date using Regex.

by Anonymous Monk
on Jan 05, 2013 at 11:06 UTC ( #1011779=note: print w/ replies, xml ) Need Help??


in reply to Take out the date using Regex.

Yes its possible, but don't forget about strftime/DateTime and the like

FWIW, this is basic regex, perlintro/perlrequick stuff :)
s/,............/, /s;

The advanced regex
s/...,.\K...........//s;
s/(?<=...,.)...........//s;


Comment on Re: Take out the date using Regex.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (3)
As of 2014-09-23 01:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (210 votes), past polls