A voltage regulator does exactly that....regulates the voltage. Generally speaking that is about 14 volts or thereabouts. That goes for your car too. You can drive it clear across the country and the battery voltage won't go above the regulator setting. It simply cannot go above whatever the charging system puts out.