OS x LO vsn 25.2.5.2. Find and replace not working

I am trying to replace consecuitive paragraph markers with zzz and then remove single paragraph markers, and replace zzz with a single paragraph marker. /n/n gets “string not found” msg.

The list of regular expressions, List of Regular Expressions , shows that $ on its own matches the end of a paragraph. Therefore

  1. Select the text if you want to limit the search
  2. Open Find & Replace and expand Options
  3. Tick the box Regular Expressions
  4. Tick Current Selection if needed
  5. In Find enter $
  6. In Replace enter zzz or some special character
  7. Replace All

Maybe you just want replace empty paragraphs? In that case using regular expressions
  • In Find enter ^$
  • In Replace enter nothing

Well, after messing around with this, I broke down and reinstalled Word. ^p did the trick.

Using Regular Expressions in Text Searches states :

image A search using a regular expression will work only within one paragraph. That is, a \n will match a line break within a paragraph.


so …