in the future. if (tel.nationalNumber && tel.countryCode == "+1") { let telComponents = tel.nationalNumber.match( /(\d{3})((\d{3})(\d{4}))$/ ); if (telComponents) { address["tel-area-code"] = telComponents[1]; address["tel-local"] = telComponents[2]; address["tel-local-prefix"] = telComponents[3]; address["tel-local-suffix"] = telComponents[4]; } } } else { // Treat "tel" as "tel-national" directly if it can't be parsed. address["tel-national"] = address.tel; } } this.TEL_COMPONENTS.forEach(c => { address[c] = address[c] || ""; }); } } } PK