D
Don Stefani
Hello,
I'm cleaning up this data string before it's written to a flat file.
I'd like to know if/how I can shorten this regexp, so it's sexier. ;-)
Chick's dig sexy code!
Original line:
Color: R14/88H Golden Wheat<br>Size: Average<br>
My regexp:
$ary2[2] =~ s/(Color:|Size//g;
$ary2[2] =~ s/(\<br\>)/,/g;
$ary2[2] =~ s/(^\s+)//;
Thanks,
Don
I'm cleaning up this data string before it's written to a flat file.
I'd like to know if/how I can shorten this regexp, so it's sexier. ;-)
Chick's dig sexy code!
Original line:
Color: R14/88H Golden Wheat<br>Size: Average<br>
My regexp:
$ary2[2] =~ s/(Color:|Size//g;
$ary2[2] =~ s/(\<br\>)/,/g;
$ary2[2] =~ s/(^\s+)//;
Thanks,
Don