Added validation when we want paste a phone number

Fixed case-75578