I am looking at an OBX line that have multiple lines from 1 to 14 and I am trying to search thru those lines to locate specific information to replace. I am iterating to the 3 groups and then searching the second field which would be CN or TX (1(%g1).1(%g2).1(%g3).OBX.#3.[1]) but it is not searching thru the ORU message to see which OBX line has what I am looking for but the logic is not working. Not sure if I have to perform another iterate within the OBX part OBX(%g4).#3.[1] or not. ???