alternative dialog find replace for writer Alternative Find & Replace for Writer (AltSearch)

Tags: Extensions Writer

last edited: 2022-03-15


Extension that adds many new features to Writer's find & replace function.

alternative dialog find replace for writer b1ead180 d038 4e11 a6b9 989f98082416


  • Fast selection preset regular and extended expressions
  • Searched or replaced text can contain one or more paragraphs
  • Search out block of paragraphs delimited by two text marks
  • Multiple search and replacement in one step
  • Searching: Bookmarks, Notes, Text fields, Cross-references and Reference marks to their content, name or mark and their inserting
  • Searching and inserting Footnote and Endnote (from version OOo 2.3 only). It is possible to select at once texts of all footnotes or endnotes and to assign them any style
  • Searching object of Tables, Pictures and Text frames according to their name; it is possible to substitute them by any text, etc.
  • Changing into found or replaced text: paragraph style, character style, list style and Hyperlink's URL and set properties
  • Inserting and replacement: clipboard contents, insert replacement counter and page number
  • Hexadecimal also decimal submission character for search and replaced
  • Searching out manual page and column break and their set up or deactivation
  • Searching similarly or the same manually formatted part of text, according to cursor point
  • Count found occurrences
  • Redirecting result of replacing expression to the other text file
  • Batch mode: saving and loading of search and replacement parameters; it is possible to save several searching and replacing subsequently to the single sequence and that whole quickly execute after. Execute the batch with more opened text documents together.
  • Self dialogue for quick assignment of key shortcut to batches
  • Preserve capitalization - If found text begins with a capital letter, also the text replacement will begin with a capital letter
  • Searching for paragraph, character and list style; possibility to choose a style from the menu
  • Built-in help (
  • Languages: English, Czech, Russian, Spanish, German, French, Dutch, Italian

Additional documentation:


Release List

  • Release Description Compatibility Operating Systems License Release notes  
  • 1.4.2 Fixed error after starting on LO 3.3 Linux, Windows, macOS LGPL Download
  • 1.4.1 Minor graphic fixes. 3.3 LGPL Download
  • 1.4 ICU regexp, bookmarks support, multibatch, formated counter. Several fixes. 3.3 LGPL Download
  • 1.3.2 AltSearch - First release on this server 3.3 LGPL

    For known problems please see



Post your review

You cannot post reviews until you have logged in. Login Here.


  • Ian Oct 17, 2020, 5:26 PM (22 months ago)

    Downloaded v.1.4.2 just now, no difficulties. v.1.3.2 which appears to be the version you attempted is an old version.
    To remove carraige returns from a document you can simply use the built in search and replace. Simply choose 'use regular expressions' and enter '\r\n' in find with nothing in the replace box. \r = carraige return. \n = new line. It can be quite useful to learn regular expressions.

  • Ruth Werner Oct 15, 2020, 11:26 PM (22 months ago)

    I got this message when attempting to download the altsearch extension...
    "this type of file can harm your computer. Do you want to keep 6cbfbb88_altsearch...oxt anyway?
    Can you explain this and tell me if it's a legitimate concern? I really want to be able to remove carriage returns from a document.

  • Punkt und Komma Sep 29, 2020, 1:30 PM (23 months ago)

    perhaps not yet ideal but many more functions than the LO-own search function

  • salvatore ferlito Sep 21, 2020, 10:17 AM (23 months ago)

    Aggiungi estensione/i:
    /home/nome/.config/libreoffice/4/user/uno_packages/cache/uno_packages/lu7177zp1vz3.tmp_/altsearch.oxt non esiste.

    Nemmeno su libreoffice

  • salvatore ferlito Sep 21, 2020, 10:02 AM (23 months ago)

    Aggiungi estensione/i:
    /home/nome/.config/libreoffice/4/user/uno_packages/cache/uno_packages/lu7177zp1vz3.tmp_/altsearch.oxt non esiste.

    Non si riesce ad installare l'estensione su linux..... nella fattispecie ubuntu 20.04 lts e libreoffice

  • William O'Connell Sep 3, 2020, 6:29 PM (24 months ago)

    Need to save files in Libre 7.0 so when I open a/that file again it is in Libre 7.0 format. I do save now (open format) but it opens in MS word format. Thank you Bill O'c

    • Adalbert Hanßen Oct 26, 2020, 10:05 PM (22 months ago)

      This is a question about LibreOffice, not about AltSearch.

      In the file dialogue go to Save as and under File Type selelect ODF Text Document (.odt).

  • entelecheia Sep 2, 2020, 12:44 PM (24 months ago)

    I was excited that so many people seem to have this working now, but I still get the

    BASIC runtime error.
    An exception occurred

    dialog. In somewhat good news, the old trick of disabling the extension and then enabling it again without restarting makes it work for the current session, but it would be nice to get this thing dialed in. Brilliant extension, otherwise.

    • Adalbert Hanßen Oct 26, 2020, 10:09 PM (22 months ago)

      I have seen this message several times. You should supply more of the error information (which error in which line) and hopefully one of the creators of this very useful tool will mend this bug. Sometimes I have seen that the bug does not show up with newer versions of LO Writer, but after some time, it happens to pop up again. Thank you for the trick. I did not know about that.

      • Adalbert Hanßen Oct 26, 2020, 10:17 PM (22 months ago)

        Just looking through my screenshots: The last time it was with v 1.4.2: "Bt_run: Error with opening file: file: ...AltSearchScript.txt l 289: An exception occurred. Type: Message: StringResourceImpl: No entry for ResourceID: \p"

        I hope this will help to eliminate this bug. But there are others...

  • Jef Sep 2, 2020, 9:17 AM (24 months ago)

    Howto install 4cc0f88b_altsearch.oxt

    cd ~
    cd .config/libreoffice/4/user/uno_packages/cache/uno_packages/
    mkdir lu13613980d6n.tmp_
    cd lu13613980d6n.tmp_/
    cp ~/Download/4cc0f88b_altsearch.oxt ./altsearch.oxt
    Retry to install the extension, and then restart LibreOffice.

  • Vahid Aug 29, 2020, 10:14 PM (24 months ago)

    Installed and works as expected. Thanks to all those that made this possible!

  • Günther Friedrich Aug 20, 2020, 2:39 PM (24 months ago)

    I can't use it with libreoffice 7.0 !!!

    • Dirk Grützmacher Aug 28, 2020, 4:58 PM (24 months ago)

      so do I. It is not compatible with 7.0 and forces the programm to terminate.

RSS feed for reviews on this page | RSS feed for all reviews