They're plain linear regulators like a 7805, but adjustable instead of fixed.
LM317 and LM337 should be suitable, though they're only three pin ( input, output, adjust) while your LM78g have ground, input , output, adjust ... you just leave the hole for ground empty.