I have a situation where I need to remove all occurrences of a string from a message. The string is CD: followed by various numbers. The string length isn’t always the same and can appear anywhere in the transaction. It may be preceeded or followed by a field separator, repetition separator etc. So it can be CD:1234 or CD:1459302. I have looked using the search function and tried several things, but the best I have done so far is remove the CD: but the following numbers still appear.
Tim