Might be faster and easier to use tr: tr/0-9//c ; # take complement of what is in string1 and replace w/ string2(null in this case)
Wags ;) -----Original Message----- From: McCollum, Frank [mailto:[EMAIL PROTECTED]] Sent: Monday, January 07, 2002 11:53 To: [EMAIL PROTECTED] Subject: substitute all non-digits with ''. I think I saw this posted rec ently, but I could not find it... I want to take all non-digits and drop them out of my string. I would think it would be something like... s/!(\d+)//; but this is not the case Frank McCollum Bank Of America Securities, LLC [EMAIL PROTECTED] (704) 388-8894 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]