11 Jun
2009
11 Jun
'09
7:49 p.m.
I have a match expression for outbound calls as "\d{10}". It's fine for unformatted numbers. Not knowing any better, I created another extension to handle numbers formatted like XXX-XXX-XXXX, which is easier to read and exists in one hard phone's phonebook. It looks like: "^1?(\d{3})-(\d{3})-(\d{4})$". But I can see making many extensions for different formats. There's got to be a better way. Any suggestions? Thanks, Lars