Gene,
I’m going to simplify to see if I’m on the right track with what you wan to do. Would this be true?
You want to replace all the occurances of /x0b with “” and you want to replace all occurances of /x1c followed by /x0d with /x0a.
You could do that in a TCL proc using ‘regsub’. But there’s probably a lot more to designing what you want. Do you want to do it in the engine or would a little script that you run by hand outside the engine be fine?