Hi @B8,
Looks like there are some typos in your expression.
Can you try the below
replace(outputs('Compose_9'), variables('NewLine'),'')
If that still does not work can you change the variable to a decodeuricomponent function
replace(outputs('Compose_9'), decodeUriComponent('%0A'),'')