We’re quite sure that all hobbyists have used the 7805 voltage ... above such a regulator is composed of very different elements: transistors, resistors, capacitors and diodes, all of them ...
The humble LM317 adjustable voltage regulator is everywhere ... for a number of applications including driving LEDs and laser diodes. While this circuit may not be as efficient as an LED driver ...