charging problem

I put a new voltage regulator in so it wasn't that causing the problem,

Are you sure? Might have got a defective one.