in reply to Re: Regex for extracting phone numbers from string
in thread Regex for extracting phone numbers from string
And there are obviously rules about which digits can be used and in what sequence, since that's the only way the phone switching system can determine when you've dialed the complete number, so not even every 7- or 10-digit number is a potential phone number. For example, 123-4567 can't be a valid phone number in the US because the leading '1' indicates that you're calling a non-local number.
|
|---|