Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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 musing on the Monastery: (12)
As of 2014-12-19 12:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (82 votes), past polls