StringReplace does not do what I expect (version 2024.2.1.0)
Newlines are not replaced, can someone please point out what I'm doing wrong?

StringReplace does not do what I expect (version 2024.2.1.0)
Newlines are not replaced, can someone please point out what I'm doing wrong?
Your regular expression isn’t correct
Your test string contains the actual text \n which is what your regex is matching
Try using \R
Thanks, this helped. Maybe add this tip in the Help for the transformer?