Ask Your Question
0

Find & Replace doesn't find paragraph marks [closed]

asked 2012-06-06 14:22:32 +0100

Prashant gravatar image

updated 2013-10-26 15:20:53 +0100

manj_k gravatar image

I can find empty paragraphs with ^$ but there's no way to replace a single paragraph break with two before pasting stuff online to our Web site. Word lets you do this with ^p and AltSearch works with \p but the Find & Replace dialog in LibreOffice Writer finds the character p followed by a space instead of a paragraph mark/break.

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 2015-10-16 22:11:47.122124

2 answers

Sort by » oldest newest most voted
1

answered 2012-06-06 15:35:06 +0100

Pedro gravatar image
edit flag offensive delete link more

Comments

1

To expand on this answer, if you do a regular expression search for ^$ and replace it with \n\n that should work.

w_whalley gravatar imagew_whalley ( 2012-06-06 15:46:01 +0100 )edit
0

answered 2012-06-29 13:51:49 +0100

Same question. Regular expressions enabled, tried ^$, \p and so forth. Does not work.

^$ would only work if it was a blank line -- two paragraph returns, right? Need to select the "end of paragraph" non printing character ¶ -- (U+00B6)

edit flag offensive delete link more

Comments

1

Do you want to add a blank paragraph after of each non-empty paragraph? Find .$ (dot-dollar) Replace with &\n (ampersand-backslash-n)

JohnSUN gravatar imageJohnSUN ( 2012-06-30 21:38:09 +0100 )edit

Question Tools

2 followers

Stats

Asked: 2012-06-06 14:22:32 +0100

Seen: 6,863 times

Last updated: Jun 29 '12