Reply To: converting multiple NTE segments to multple OBX segments

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf converting multiple NTE segments to multple OBX segments Reply To: converting multiple NTE segments to multple OBX segments

#57606
John Perks
Participant

    Alter your regular expression to include the preceding segment delimiter, e.g.

    regsub -all “x0dNTE” $msg “x0dOBX” $msg

    If you look for the field delimiter (|} following the segment identifier (NTE), ignoring the preceding segment delimiter (x0d), you could alter fields which end in “NTE”.

    Try it at the TCL command line to test it.