@YaBooyyy
So replace function, replaces any word or letter that you give with another letter/word you provide.
So, in the above case, you can use it like this:
take a compose:
replace(variables('EmailText'),'\r','')
By this we are replacing \r with no space.
Then you can do this again for '\n'
This can be done in 1 compose too, but I am really bad with expressions. Hehe.