code: function sanitizePhone(phone: ?number | string): string {
    let newPhone = String(phone).replace(/\D/g, "");
    if (!newPhone) {
      return "";
    }
  
    if (String(newPhone)[0] !== "1" && newPhone.length === 10) {
      newPhone = `1${newPhone}`;
    }
    return newPhone;
  }
docs: Given a phone number, strip non-numeric characters for database storage
  Note: If phone has extension, this is not a suitable function
  
  @param {Number|String} phone
  @returns {String}