Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 lurking in the Monastery: (4)
As of 2014-10-26 02:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (149 votes), past polls