Time to liven up the list with some conversation. Since everyone uses different ways of formatting phone numbers... [e.g. (555) 555-5555 555-555-5555 555.555.5555 555 555-5555 ] I'd like to stip out the usual garbage that a user would enter so I can then reformat it. [Actually it'll be reformatted when it comes out of the database... wouldn't want to waste any precious bytes on formatting :)] What I'd like to know is can anyone come up with something less ugly than this? $phone =~ s#(\(|\)|-|\.| )##g; Matthew
- Re: [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
