Find double blank lines

How does one find double blank lines in Writer? I’m using both the regular and the alternate search utility in LO 5.0.5, and while the Regex ^$ finds one blank line, ^$^$ does not find two together.

I found one way to do it:

  1. find regex $, replace with qqq
  2. find qqqqqq, replace with qqq. Repeat until no further hits
  3. find qqq, replace with regex \n

If there is a more direct way, please let me know.


Edit: this eliminates all blank lines, which is not what I’m looking for.

The extension http://extensions.libreoffice.org/extension-center/alternative-dialog-find-replace-for-writer can do it.

Thanks. Either that is a very significant upgrade from 1.4, or I was unaware of the functions behind those buttons. This solves the problem. Very nice.

In my case ^$\p* (AltSearch’s string for finding multiple blank paragraphs) has two shortcomings: (1) it also finds single blank paragragphs; and (2) it will only find them “one at a time”, that is, using “Find All” doesn’t work. Is it just me? or is this the case for others too? (I’m using LibO 5.1.3.2 with AltSearch 1.4.1 under Ubuntu 14.04 LTS, at the moment.)