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.


  • jafpcu Aug 18, 2020, 8:14 AM (2 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 (2 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 (2 years ago)


  • An Patr Jul 13, 2020, 2:08 AM (2 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.

  • fredthomke Jul 12, 2020, 8:27 PM (2 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 (2 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 (2 years ago)

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

  • fork Jul 7, 2020, 6:16 AM (2 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 (2 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 (2 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 (2 years ago)

      thank u, way to make custom shortcut helped me linux

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

      Upgraded to and the extension runs fine.

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