[PHP] Parsing Phone Numbers

2001-05-16 Thread Jason Caldwell
Is there a way I can modify a phone number programmatically -- for example, if I have the following phone number: 1234567890 Now there are no - or . separators... and I would like to automatically add them when the user hits submit... 123-456-7890 Also, I would like to account for optional

Re: [PHP] Parsing Phone Numbers

2001-05-16 Thread dempsejn
: [PHP] Parsing Phone Numbers Is there a way I can modify a phone number programmatically -- for example,if I have the following phone number: 1234567890 Now there are no - or . separators... and I would like to automaticallyadd them when the user hits submit... 123-456-7890 Also, I