Thanks!

I always have a regulator regardless AC or DC. I was not clear in my post. I have a bridge, cap and a standard LDO 12v regulator rated at 35V input. So if I connect it to a 24Vdc power supply it will be fine?