Hi Amy,
Robert’s suggestion should work but just to clarify something – if you want to ‘work’ on any of the reserved HL7 characters i.e &^~| then you need to use a backslash – yes this means becomes \.
Also use the {} braces to delimit your code – it makes it easier to read as well as helping the parser.
Regards
Garry