Hello, Sorry but this is one more email body extraction question from a newb.
I want to extract everything out of the body of an email starting at a certain line.
When I hit the line I am looking for, I want that line and every line after that so I can save it to text file on my network.
I've got all lines in an array but I don't know how to find the ones I am looking for.
I included a screen print that shows what I have so far to identify the correct emails and parse the email body into an array. All of this works up to this point.
Starting when I see the line that begins with "Ack/997 FOR RGA"
I want everything in blue.
My end of my array looks like this:
"",
"ZjQcmQRYFpfptBannerEnd",
"",
"BODY OF THE E-MAIL:",
"",
"===========================================",
"",
"Ack/997 FOR RGA 667000176",
"",
" ",
"",
"ISA*00* *00* *14*056671711some *ZZ*mycomp *230906*1801*^*00406*001059296*0*P*>…",
"",
"GS*FA*056671711some*mycomp*20230906*1801*813043*X*004060…",
"",
"ST*997*313044…",
"",
"AK1*AN*667000176…",
"",
"AK2*180*668000176…",
"",
"AK5*A…",
"",
"AK9*A*1*1*1…",
"",
"SE*6*313044…",
"",
"GE*1*813043…",
"",
"IEA*1*001059296…"
]