Regular Expression help!



Look at the excerpt from a CSV file below

"C29560","Some text ","07/12/2006 11:00:00","07/12/2006
16:00:00","07/12/2006 16:00:00","07/12/2006 11:00:00","NODE21A3"

I am trying to write a snippet of perl that will swap the date and
year bits in all of the date fields, so that 07/12/2006 becomes
2006/12/07. So the line should read:

"C29560","Some text ","2006/12/07 11:00:00","2006/12/07
16:00:00","2006/12/07 16:00:00","2006/12/07 11:00:00","NODE21A3"


Any help would be appreciated !

.



Relevant Pages

  • Re: Regular Expression help!
    ... Suk wrote: ... I am trying to write a snippet of perl that will swap the date and ...
    (comp.lang.perl.misc)
  • RE: Big Problem, Load Avg Very High
    ... I disabled one of my clients web pages (the one that gets the most hits ... 500MB of swap used? ...
    (freebsd-questions)
  • fork failed cannot allocate memory
    ... I have a Dell 2650, dual Xeon box, 2GB RAM, 6GB swap with PERC Hardware ... feeding the perl processes). ... Every week or two the box will stop allowing new netcool client ...
    (RedHat)
  • Re: trying to use pine with postfix
    ... > postfix configuration. ... /etc/postfix/main.cf snippet ... # swap linux users into my ISP eamil users ... postmap canonical_recipient ...
    (comp.os.linux.networking)
  • Re: splitting cvs file and insert in mysql via DBI
    ... > or a number in csv file. ... Perl says that it find an a number or a dot ... How, *exactly*, are you calling this script? ... That error message would ...
    (comp.lang.perl.misc)