goo from voltage regulator?

I guess if you're going to paint it, scrape what you can off with a single edge razor then clean with some mineral spirits or something equivalent.

Just be sure, as you are probably well aware, to clean the area real good before primer and paint.