Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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 browsing the Monastery: (3)
As of 2014-10-02 03:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (45 votes), past polls