Hello,
Welcome to the DigiKey tech forum. Based on the part markings it looks like you have DigKey part LM340T-5.0/NOPB-ND which the datasheet page 23 of 36 shows a marking of LM340T5 7805 P+ . The 8830 is more than likely a date code. Take a look at DigiKey part LM1086CT-3.3/NOPB-ND as a possible option for a 3.3v regulator.