If you have replaced the regulator and it does the same thing try this. Pull the plug off the regulator. If it quits charging replace the plug. I have seen many go bad. You most likely are losing the voltage sense to the regulator [blue wire]. You will have voltage in the wire but the connection in the moulded plug goes kaput.