Hello,
We recommend you to use replaceTemplateVariableByHTML to replace text.
But we don't understand this sentence:
----------------------------
Can you tell me how to find the text in the same way (with line break)?
----------------------------
Could you explain it further?
Regards.