I have an inbound file that contains many messages. At the end of each message, there is a 0D 0D 0A separating it from the next message. The receiving system that the file is eventually FTP’d to needs the ending characters of every message as 0D 1C 0D
regsub -all — { D D D} $fileIn “