Hello, I am John, a Ford dealer technician.
I hope I can help solve your problem quickly and accruately.
Sorry for the bad news, but when the cable comes off of the regulator the only way to repair is to replace the regulator. When the cable is loose it is because part of the mechanism is broken.
I hope this answer has been helpful to you! If you have any further questions please feel free to ask.
If this answer has been helpful please accept so I can recieve payment.
Thank you,
John
JustAnswer Expert
Mercury Technician
ASE master, Ford Senior master