Ask Your Question
0

Find & Replace doesn't find paragraph marks

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

Prashant gravatar image Prashant
1 1 2 1

updated 2013-04-02 18:17:08 +0200

manj_k gravatar image manj_k
5719 4 33 48

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.

delete close flag offensive retag edit

2 Answers

Sort by » oldest newest most voted
0

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

Pedro gravatar image Pedro flag of Portugal
3218 4 23 54

Did you check the option for Regular Expressions?

http://ask.libreoffice.org/question/1491/findreplace-not-recognizing-t-for-tabs

link delete flag offensive edit

Comments

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

w_whalley ( 2012-06-06 15:46:01 +0200 )edit
0

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

windlion gravatar image windlion
1

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)

link delete flag offensive edit

Comments

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

JohnSUN ( 2012-06-30 21:38:09 +0200 )edit

Login/Signup to Answer

Donate

LibreOffice is made available by volunteers around the globe, backed by a charitable Foundation. Please support our efforts: Your donation helps us to deliver a better product!

Question tools

Follow
2 followers

subscribe to rss feed

Stats

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

Seen: 1,509 times

Last updated: Jun 29 '12