A jQuery telephone input with flags and international codes plug-in
International Telephone Input | jQuery Plugins
Consider Using Localized Input Masks for 'Phone' and Other Restricted Inputs (64% Aren't Taking Advantage of Input Masking) – Articles – Baymard Institute
JQuery InputMask | Various Libraries & Types of InputMask in JQuery