Re: search and replace help...

2002-09-09 Thread John W. Krahn
Mike Singleton wrote: > > How would I remove all the space and replace them with commas, but where > there is more than one space in a row, only replace those with one comma? In > other words make the follwing file comma delimited and strip out everything > preceding the date? > > === My crack a

Re: search and replace help...

2002-09-09 Thread Jeff 'japhy' Pinyan
On Sep 9, Mike Singleton said: >How would I remove all the space and replace them with commas, but where >there is more than one space in a row, only replace those with one comma? In >other words make the follwing file comma delimited and strip out everything >preceding the date? To turn 1 or mo

search and replace help...

2002-09-09 Thread Mike Singleton
How would I remove all the space and replace them with commas, but where there is more than one space in a row, only replace those with one comma? In other words make the follwing file comma delimited and strip out everything preceding the date? === My crack at the script === use strict; while(