Input TXT with some CR (not CRLF)

Hello
I have an AS/400 data stream for matrix printers. I have some lines that end in a CR (and not a CRLF), see screenshot.
The datamapper interprets the CR as a line break. How to avoid this.
On the screenshot line 3 and 4 must be “overwritten”.
Thank you for your help

What I would do is modify the data in Workflow. Basically, the idea is to remove each and every line that ends-up by CR. Since they were to be overwritten, removing them seems the logical choice.

So use the Advanced Search and Replace plugin as shown in this picture:

In the Replace with part, you put a single space.

Hope that help.