At 04:12 PM 1/7/2002 -0500, Jeff 'japhy' Pinyan wrote: > >>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). > >Right, and that was what I said, and that is what the code I have posted >does.
Thank you Jeff. Works like a charm. One other thing I need to filter out is [:]'s in a time display 00:00:00. When I added it to the s/[.-]+//g statement it replaced them with double dashes? -Scott -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]