When replacing a regulator i tend to mount the new one and then follow the feed wire into the depths of the bike cutting the cable ties as i go and securing the new cable in the same place with a new cable tie and that just makes sure i have the correct run for the wire
Brian
Brian