Ask Your Question

how to search and replace crlf

asked 2017-08-24 19:53:26 +0200

LibOfcLar gravatar image

In Writer v. I want to search and replace (Ctl H) for the 'carriage return + line feed' control character and replace with a space.

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2017-08-24 20:33:16 +0200

JohnSUN gravatar image

Here you can read "$ on its own matches the end of a paragraph. This way it is possible to search and replace paragraph breaks."

image description

edit flag offensive delete link more


Besides the End-Of-Line sequence CRLF, "$" also matches other End-Of-Line characters, such as \u000a, \u000b, \u000c, \u000d, \u0085, \u2028, \u2029.

To replace only the CRLF's, set the Find string to: "\r\n" ( without the quotes ).

librebel gravatar imagelibrebel ( 2017-08-24 20:46:38 +0200 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2017-08-24 19:53:26 +0200

Seen: 546 times

Last updated: Aug 24 '17