Ask Your Question

Delete index entry marks for all similar texts in document?

asked 2017-05-10 19:11:35 +0200

jtd gravatar image

updated 2017-05-12 16:59:16 +0200

I created an Alphabetical Index in my document that contains the word "weather." I select one instance of the word "weather" and do {Insert > Table of Contents and Index > Index Entry}. I check "Apply to all similar texts" and click "Insert." LO Writer "automatically marks all other occurrences of the selected text in the document" and, in total, finds 91 instances of the word "weather" (both "weather" and "Weather") to mark and gives the appropriate information to the Alphabetical Index.

Later, I realize I made a mistake and want to delete the "weather" entry from my Alphabetical Index. I can place my cursor in instance 1 of 91 of marked word "weather" and do {Edit > Reference > Index Entry} and click "Delete." Unfortunately, this leaves instances 2 - 91 of marked word "weather" in the Alphabetical Index.

How can I quickly remove all 91 marks [or index-related fields] from all 91 instances of the word "weather" in my document so "weather" is no longer in the Alphabetical Index without manually placing cursor in each of 91 instances of marked word "weather"? To be explicit, solutions that involve creating a new Alphabetical Index or manually changing the displayed index are not solutions.



edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2017-05-13 12:30:23 +0200

pierre-yves samyn gravatar image

updated 2017-05-13 12:33:58 +0200


You should be able to delete most instances with EditFind & Replace:

  • Find: \W*weather\W*
  • Replace: &
  • other options: tick Regular expressions
  • Replace all


PS: For such indexing needs a concordance file may be more appropriate

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2017-05-10 19:11:35 +0200

Seen: 164 times

Last updated: May 13 '17