in reply to Find & Replace
while (<DATA>) { s{(?:(?<=23,)|(?<=bye,)),+}{}; print; } __DATA__ Hello,World,23,,,, test,test,test test,test,test test,test,test test,test,test end,bye,,,,
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Find & Replace
by johngg (Canon) on Aug 10, 2006 at 20:41 UTC |