general data mining in r

Tags: #<Tag:0x00007ff41ef0a478> #<Tag:0x00007ff41ef0a1a8>

I have 40000 rows containing text (Alpha numeric).I need to extract some Alpha numeric 19 digit code from each of them.Each text has one or two codes.They don’t have specific format / Pattern. Any code or package in R to extract them all???

Text is like"VERIFIED CUSTOMER CONCERN, PERFORMED MAIN BATTERY LOAD TEST FAIL CODE: 1MAHAW - LK0ATAW - RL6T1M, MAIN BATTERY HAS AN INTERNAL ELECTRICAL FAULT PREVENTING NORMAL OPERATION, INSTALLED NEW MAIN BATTERY AND RESET THE BMS SYSTEM, VEHICLE IS FUNCTIONING AS DESIGNED .

Need to extract them all.Code is like this “1MAHAW - LK0ATAW - RL6T1M”