I actually just had to do this last week. I had an over curious rat chew through the small amount of exposed cord that was in the tank. It's not terribly difficult. Cut out the excess, twist the two ends together to make sure they still pick up the "outdoor" temperature and use some heat shrink tubing. Works like a charm. Oh and the rat never saw it coming after his malicious attempt at escape. Nicodemus pwn'd him.... Lol