At 04:04 PM 1/7/2002 -0500, Jeff 'japhy' Pinyan wrote: >No, the [...] is needed. Otherwise, you're removing all occurrences of >the string ".-" which is not what was intended. > >So s/[.-]+//g, or perhaps tr/.-//d;
I might have worded it wrong, I need to replace a period (.) and a dash (-), they may not be together ie (.-), they could be in any of the fields in the array. Some of the fields are numbers (5000.00), some are dates (2002-01-07). -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]