From 24V to 5V DC voltage regulator

If you are apply Vout + >=(5V to 7V) to Vin then the regulator is going to get really hot - better plan on having a good heatsink, that tab will get hot enough to blister your skin if very much current is drawn.
For example: Power dissipated as heat = (Vin - Vout) x current. (35V - 5V) x .1A = 3W. Hot!