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

Tags: Extensions Writer

last edited: 2023-01-24


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.


  • salvatore ferlito Sep 21, 2020, 10:02 AM (3 years 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 (3 years 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 (2 years 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 (3 years 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 (2 years 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 (2 years 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 (3 years 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 (3 years ago)

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

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

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

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

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

  • jafpcu Aug 18, 2020, 8:14 AM (3 years ago)

    Thank you, thank you, thank you!!!
    Needed to replace carriage returns with line breaks. Took a bit of experimenting, but this is what worked for me:
    Find = (.)\p(.)
    Replace = \1\n\2
    This preserved the double-carriage-returns that I needed.

    Linux Mint 19.3
    Libre Office

  • Confucius Aug 14, 2020, 5:29 AM (3 years ago)

    Hi Guys,
    This was a great add-on. I used it continuously every day in data conversion. However it had problems not replacing items in the last few weeks. Since then icon was removed from toolbar and it's gone. It fails to install now raising an error.

    The file is in the folder.

    4cc0f88b_altsearch.oxt does not exist.

    I would like to rate it a 5 but cannot rate it at all at present because it is not able to install.

    Any help will be appreciated.

  • Anne Jul 23, 2020, 9:26 AM (3 years ago)


  • An Patr Jul 13, 2020, 2:08 AM (3 years ago)

    1. Is this project dead? The last version appears to be from 2017.
    2. Is this open source, and if so where is the code repository: GitLab, Github, Sourceforge, other?
    Thanks for what you've done so far.

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