Format phone number to add country code

I’d also like to see a US +1 example or resource for this as well. Any tips, @karstenkoehler? Thank you!