As I am still a bit of a starter in .NET regular expressions, I have another question about it.
Below you see a piece of a bank file statement.
I do already match everything I need except for the description. The description is given in the lines starting with :86: If any bankcode (9 or 10 characters) available, it is given at the most upper line starting with :86: (direct below a line starting with :61:)
Now I need a regex that does one of the following things:
- a regrex that matches everything (incl bankaccount) on the different lines 86 (except for :86: itself)
- a regrex that skips the bankaccount (if any) and selects everything else on the different lines 86 (except for :86: itself)
I am very curious to the right regex, cause I couldn't solve it myself and I don't even know if it is possible in one way or another.
Thanks in advance for tips or solutions, if you need more info, just reply!
:86:P 12345678BELASTINGDIENST F8R03782497 $GH
:86:$0000009 BETALINGSKENM. 123456789123456
:86:0116664495 REGULA B.V. HELPMESTRAAT 243 B 5371 AM HARDCITY HARD
:86:0329883585 J. MANSSHOT PATTRIOTISLAND 38 1996 PT HELMEN BIJBETA
:86:LING VOOR RELOOP RMP1 SET ORDERNR* 69866 / SPOEDIG LEVEREN
:86:AUTOBETALING 01 TELEFOONSTRAAT 43 6448 SL S-ROTTERDAM MIJN OR
:86:DERNR. 53846 REF. MAIL 21-02