OK I see what you mean. It's the white connector that carries the red-black-green wires between the regulator and the harness/battery, and the green wire within that white connector. The most damage appears to be the regulator side. It looks to me to be a female spade terminal but I don't see any obvious way of taking the connector apart to replace the terminal.