Which regulator for 30V DC to 5V DC

Use a DC-DC convertor, also known as switching regulator.
Some examples: