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?
Best answer by ebygomm
Your regular expression isn’t correct
Your test string contains the actual text \n which is what your regex is matching
Try using \R
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.