Should become:012345678901234567890123456789012345678901234567890 1234567890 VON 14.06.2004 BUCHUNGSKONTO 1234567890
(underscores and count on first line added for clarity)123456789012345678901234567 1234567890 VOM 14.06.2004__ BUCHUNGSKONTO 1234567890___
Should become:0123456789012345678901234567890123456789012345678901234567890123456789 +012345678901234567890123456 R12345678-A1234567 INCL.EUR 3,31 MWST JULI MONATL. GEB HR T-DSL FLAT +01.07.04-31.07.04 12,34
(underscores and count on first line added for clarity) (Note that in this case, my algorithm doesn't split it in quite the same place that the original did -- and not that yes, DTAG does spell Gebuehr as two words, for some strange reason, for those that know German.)123456789012345678901234567 R12345678-A1234567 INCL.EUR 3,31 MWST JULI MONATL. GEB_ HR T-DSL FLAT______________ 01.07.03-31.07.04 12,34
It appears that my bank is doing (the equivlent of) $comments = join (' ', '', map {s/ *$//; $_} @comments;; I'm attempting to undo that, and get back @comments.
In reply to Re: splitting text into lines -- code -> regex
by theorbtwo
in thread splitting text into lines -- code -> regex
by theorbtwo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |