Skip to content

Instantly share code, notes, and snippets.

@cjjavellana
Last active January 25, 2021 13:53
Show Gist options
  • Save cjjavellana/248df43512d978688c45149608818e7e to your computer and use it in GitHub Desktop.
Save cjjavellana/248df43512d978688c45149608818e7e to your computer and use it in GitHub Desktop.
Reading MT Block 4 Tags
```
^:([A-Z0-9])+:(.|\n)+?((?=^:)|(?=^-}))
```
Sample
```
{1:F01SCBLGB2LAWEB4388030285}{2:I1010000200207ABCDSGSXXX4388030285200 } {3:{108:SPAYMENT}}{4:
:20:BLAHBLAH
:28D:1/1
:50H:/BLAHBLAH
:30:200720
:21:BLAHBLAH
:32B:SLL11673751,
:BLAHBLAH
:59:/000001
BLAHBLAH
:70:/RFB/VENDOR PAYMENT
PSC PAY PERIOD 14 2020
WORLD
:71A:OUR
-}
```
@cjjavellana
Copy link
Author

Screen Shot 2021-01-25 at 9 45 24 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment