Thanks for the response. Although I'm do not consider myself as a specialist on Regular Expressions, I will look into it and see what will come out of it.
If you want someone to really help, i would advise that you paste the actual buffer values (instead of a picture) so whoever helps has some real data to play with. Use the "copy value" button that appears when you hover over the debug payload.
CANNED TEXT
There’s a great page in the docs (Working with messages : Node-RED) that will explain how to use the debug panel to find the right path to any data item.
Pay particular attention to the part about the buttons that appear under your mouse pointer when you over hover a debug message property in the sidebar.
Sorry for that, I know how to do that and I also saw the docs, although this is some time ago.
As said, I try to support someone else and this is what I got so far.
I do not own that Weidmann device, so I can't test and do not have the original output.
The user sent me already a file with was redirected from the original output and this file gave me the exact same result as my simulation. But this file (and my simulation) is a string, while it looks that the original output from the Exec node is a buffer, containing a string.
I tried to create a simulation with an Inject node. However the simulation in the Inject node does not seem to be identical as the output of the device. With the simulation I can achieve what I wanted so far. But testing on the real device failed.
However I appreciate your response and your nice videos.