From: Uri Guttman <[EMAIL PROTECTED]>
> s/\D+//g ;
>
> tr/0-9//cd ;
One of those "why did Larry do it that way?" questions:
Why can't I use:
tr/\d//cd ;
(I.e., why don't character classes work in tr? \s and \S would be
very convenient.)
--kag
- [Boston.pm] unformatting phone numbers Matthew J. Brooks
- Re: [Boston.pm] unformatting phone numbers Uri Guttman
- Re: [Boston.pm] unformatting phone numbers Matthew J. Brooks
- RE: [Boston.pm] unformatting phone numbers Kenneth Graves
- RE: [Boston.pm] unformatting phone numbers Tolkin, Steve
- Re: [Boston.pm] unformatting phone numbers Chris Nandor
- Re: [Boston.pm] unformatting phone numbers Kenneth Graves
- Re: [Boston.pm] unformatting phone numbers Chris Nandor
- Re: [Boston.pm] unformatting phone numbers Uri Guttman
- Re: [Boston.pm] unformatting phone numbers Ronald J Kimball
- Re: [Boston.pm] unformatting phone numbers Kenneth Graves
- Re: [Boston.pm] unformatting phone numbers Chris Nandor
- Re: [Boston.pm] unformatting phone numbers Elaine -HFB- Ashton
- Re: [Boston.pm] unformatting phone numbers j proctor
