it's trivial to see, and the great majority do.
both are fine for decades. The regulator is the practical option since the OP can't replace the transformer.
Simple solenoids as in dingdongs don't care what they get. Ac, dc, twice rated voltage, 2/3, they don't care.
You're not so sensible tonight.
NT