7805 alternatives

Be careful using LDO regulators on a PCB designed for non-LDO regulators. The pinout is often different (LDO regulators tend to have the heatsink tab and center pin connected to Vout, while the 7805 has them connected to GND.)