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.


  • fredthomke Jul 12, 2020, 8:27 PM (3 years ago)

    Wow! So intuitive! Why this is not already the default F&$ feature in LO Writer is beyond me. THIS is the way this should work in the first place!

  • Jenn Jul 10, 2020, 3:59 PM (3 years ago)

    I loved this addon until it stopped working. Now everytime I try to use it I get this error:
    BASIC runtime error.
    An exception occurred

  • sid Jul 7, 2020, 6:19 AM (3 years ago)

    and who cd hv thought it will solve this issue!!

  • fork Jul 7, 2020, 6:16 AM (3 years ago)

    if u find opening the extension difficult then create a custom shortcut for it. go to "Tools Menu > Customise...". then select a shortcut u want like Ctrl-Shift-H in shortcuts list at the top. then select "LibreOffice Macros > My Macros > Alt Search > Alt Search (again)" in category section below. then select "_AltSearch" in Function subcategory section next to it. now click the "Modify" button then "Ok". to open the extension dialog box, hit ur custom shortcut keys everytime*

  • fork Jul 5, 2020, 4:53 PM (3 years ago)

    this extension is super duper easy and advanced, very helpful for one who dont know how to make macros for the same advanced purposes it serve.

  • Gerard Buzolic Jul 4, 2020, 12:47 PM (3 years ago)

    This extension is so good it should be part of LibreOffice.
    I use the tabbed interface. To access the extension without having to show a new, largely empty toolbar with the one AltSearch icon, I use Ctrl-Shift-H as a custom shortcut. To associate this shortcut, find the AltSearch window as follows and Ctrl-Shift-H in shortcuts list at the top at the top and Tools Menu > Customise... > Keyboard tab > Category LibreOffice Macros > My Macros > Alt Search > Alt Search (again) > _AltSearch
    Click the "Modify" button then "Ok". Then you can hide the AltSearch toolbar (View menu). Good luck.
    I am still using LibreOffice in Windows. I notice there is an upgrade. Hope it still works in the upgrade. It works fine in the Linux version of LibreOffice.

    • fork Jul 5, 2020, 4:51 PM (3 years ago)

      thank u, way to make custom shortcut helped me linux

    • Gerard Buzolic Jul 4, 2020, 10:20 PM (3 years ago)

      Upgraded to and the extension runs fine.

  • K. Ivanov Jun 26, 2020, 6:27 PM (3 years ago)

    I have used it since many years and was very satisfied.
    But unfortunately I can not install it any more in the current version of Writer.
    LibreOffice crashes when I try to install the extension from here.

  • jj Jun 22, 2020, 10:27 AM (3 years ago)

    Super excellent, this is what i am looking for.

  • santhosh Jun 21, 2020, 7:04 AM (3 years ago)

    I am getting an error called at the line oLibContainer.LoadLibrary(LibName) in the function Function LoadDialog

    • andy Nov 28, 2020, 7:24 PM (2 years ago)

      I have been having the same problem! Did you ever find a solution you can share with me. I'm on Windows PC.

  • André Luiz Duarte de Queiroz Jun 19, 2020, 3:38 PM (3 years ago)

    So, so... For the average user, regular expressions are quite confusing, and definitely not intuitive; whenever I've tried to make search and replace operations with them through this add-on I failed at least once inputting a regular expression at search field and the same regular expression at the replace field, to get a final result different of intended (the default built-in search&replace would have the same behaviour...); further, this add-on (which is indeed a VB macro...)"crashes" when doing "replace all", at least within tables! It opens a VB window and returns an error message about "no variable set" or something like that!
    Frankly, I'd prefer AltSearch add-on enabled Search&Replace features the very same way of MS Word, much simpler (using "^p" for paragraph, "^t" for tabulation, and so on...)

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