remove \n from address in Data Transform

remove \n from address in Data Transform. I used replaceAll funtion. It is not working.

“NO 1\nABCD EFGH NO-1”

“NO 1\nABCD EFGH\nIJKLMN NO-1”

@sivap914

Please try to use the below function in DT to remove new line.

text = text.replaceAll(“\n”, “”)

@P.Siva.Praveen thanks a lot for your prompt response. It is working.