Ho do i replace the all the element code with proper words from the list in Java

I have error Messages like ” TX EM Mandatory.” TX-Teletype Address and EM- Email Address, I have such list of 200 elements. What is the best possible way to replace these elements with the words in the error message in the most optimal way?

Elements list like this:

Date/Date Range – DT 
Found Property – FP 

I want this 2 element code to be replaced by proper words from the list in the error message in the most optimal way. How do we do it in Java?.
Is there any algorithm so it can be done in the quickest way.