Thanks to Hagar de l'Est, I now know to enter the $ symbol for a paragraph mark. I am having another Find and Replace problem. Basically, the macro I want to record finds an empty paragraph (^$) and replaces it with any unused character -- I'm using `. Then I replace all paragraph marks with a space. So far, so good. The last step is to take that ` character and replace it with a paragraph mark. So I put the ` in the Find box and $ in the Replace box. Unfortunately it replaces not with the paragraph mark, but with an actual dollar sign. What am I missing here?
Annice
[Solved] Another Search and Replace question
[Solved] Another Search and Replace question
Last edited by annice on Wed Dec 19, 2007 12:59 pm, edited 1 time in total.
-
esperantisto
- Volunteer
- Posts: 578
- Joined: Mon Oct 08, 2007 1:31 am
Re: Another Search and Replace question
Just put nothing into the replace box if you want to have an empty paragraph or put \n to add extra new lines. $ works as a regexp only in the find field.
AOO 4.2.0 (of 2015) / LO 7.x / Win 7 / openSUSE Linux Leap 15.4 (64-bit)
Re: Another Search and Replace question
Thanks. I think I have things working the way I want now. I'm sure I'll come up with other questions as I continue working with Writer. The support of this group is great!
Annice
Annice
Re: Another Search and Replace question [Solved]
One hint though: At present OOo can't handle paragraphs longer than 64 K. So if you have a long document, larger than 64 K characters, and you remove the internal paragraph markers, you get one paragraph exceeding that size, resulting in data loss. 
LibreOffice 25.8.4.2 on Ubuntu Linux
If your problem has been solved or your question has been answered, please edit the first post in this thread and add [Solved] to the title bar.
Nederlandstalig forum
If your problem has been solved or your question has been answered, please edit the first post in this thread and add [Solved] to the title bar.
Nederlandstalig forum