Ask Your Question

how to search and replace crlf [closed]

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

LibOfcLar gravatar image

updated 2020-08-12 17:14:59 +0100

Alex Kemp 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 reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Alex Kemp
close date 2020-10-13 17:27:22.755936

1 Answer

Sort by » oldest newest most voted

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

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 +0100 )edit

Question Tools

1 follower


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

Seen: 1,296 times

Last updated: Aug 24 '17