How to process multiline text

I have a multiline text that I am processing with downstream components. I want to get the same number of processed records in the output. How to achieve this ?

 

Aleksandra