Add specified messages to view

Clovertech Forums Cloverleaf Add specified messages to view

  • Creator
    Topic
  • #118632
    Rich
    Participant

      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.

    Viewing 2 reply threads
    • Author
      Replies
      • #118633
        Tipu Razaq
        Participant

          CHEM\|L\|

        • #118634
          Keith McLeod
          Participant

            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

            If you are in 19.+ you might use MSH.4=L

            Hope this helps….

          • #118635
            Rich
            Participant

              Thanks all, I appreciate the input!

          Viewing 2 reply threads
          • You must be logged in to reply to this topic.