Re: Regular Expression help!



Sorry I meant -

open CSVFILE, "data.csv" or die "failed to open changes $!";

while (<CSVFILE>) {

print "$`$3/$2/$1$'" if (/(\d{2})\/(\d{2})\/(\d{4})/);

}

Which just alters the first date- I need to alter all of them

.