Sidebar

How can I remove Carriage Returns \r and Line Feeds \n in a string.

0 votes
1.2K views
asked Nov 12, 2015 by brandon-w-8204 (33,270 points)
I have extra carriage returns in string and need to remove or replace them. Is it possible to remove or modify them.

1 Answer

+1 vote

QIE can replace these using the Standard Replace Function:

Regex for easy copy and paste: [\r?\n|\n]

answered Nov 12, 2015 by brandon-w-8204 (33,270 points)
edited Aug 22, 2016 by brandon-w-8204
commented Aug 22, 2016 by brandon-w-8204 (33,270 points)
To use this with XML put the xpath you need in the source "Node Path" and target "NodePath".
...