Flow_15c4wm3 Flow_15c4wm3 Flow_1195zgn Flow_1g9el64 **First Name:** {{ firstName }}. **Last Name:** {{ lastName }}. **Telephone:** {{ telephone_all }} . . Flow_03ueb3r Flow_1g9el64 Flow_1195zgn Flow_03ueb3r # Get lenth of phone number entered tel_len = len(telephone) # Determine if the US country code was entered or not if tel_len == 11: country_code = telephone[0] area_code_strt = 1 else: country_code = "1" area_code_strt = 0 # Set where phone number starts phone_strt = area_code_strt + 3 # Get area code area_code = "(" + telephone[area_code_strt:area_code_strt+3] + ")" # Get phone number phone_before_hyphen = telephone[phone_strt:phone_strt+3] phone_after_hyphen = telephone[phone_strt+3:] phone_number_all = phone_before_hyphen + "-" + phone_after_hyphen telephone_all = country_code + area_code + phone_number_all