Can you give us some code? If I understand you correctly they are in a form and you send them to the action page where they will have a regex function to change the code to format it as you like.
They are in a text area. I'm basically trying to get what is in the Problem Description text area translated into actual data from the database i.e. EVENT TYPE NAME=EVENT.EVENT_TYPENAME.
Please click on the following click to see the code I would like translated: http://pastebin.com/imfuSTbT
Please click on this link to see code for the page where the translation occurs: http://pastebin.com/m2t9Vp7w