I use 7805's quite a bit and they have yet to fail. The max input to these is 37 volts, the minimum Vin is Vo + 2 volts, or 7 volts. If you intend to run at its max current of 1 amp, you will need to be mindful of junction temperature and power dissipation and heatsinks. With the best case of 7v in and 5v out at 1amp, you will dissipate (7 - 5) * 1 = 2 watts. At 50 degrees C per watt, the chip will be 100 degrees above ambient. This puts you very close to, or above the 125 degree max limit. You will need a relatively small heatsink. If you feed it 22 volts at 1 amp, you will need to deal with 17 watts and fan cooling. This is horribly inefficient. OTOH, a switching regulator is about 80 to 90% efficient. Most of the major IC houses have the chip you'll need along with a plug and play program that cranks out all of the values for the handful of other parts you'll need.