If the cable on the laptop side of the adapter is damaged it may be possible to cut out the damaged section, but you will need to take care to ensure that a replacement plug has the same internal and external dimensions.