I’m trying to add specific messages to view in SMAT. I need to find MSh.4 value = L. I tried CHEM|L|, but that failed. Suggestions would be greatly appreciated.
Depending on your version… But here is a regular expression that may help.
MSH(?:[^\|\r]*\|){3}L\| The 3 is used normally for the 3rd field except in the MSH segment where MSH.1 is actually equal to ‘|’ so there is an offset. For other segments, the field number is appropriate.
\rPV1(?:[^\|\r]*\|){3}L\| would show you messages where PV1.3=L