Find and Replace with clipboard contents

In Word, you can use ^c to insert anything from the clipboard into the Replace box. This is useful because it takes all formatting with it. Is there a similar function in LibreOffice?

As a workaround, you can…
Replace all instances at once: Find All, close the Find and Replace dialog, and Paste (Ctrl+V).
Choose which instance to replace: Find, close the Find and Replace dialog, and Paste (Ctrl+V), find next (Ctrl+Shift+F), and Paste (Ctrl+V).

Tested with LibreOffice 7.2.3.2 on Linux.

1 Like

Thanks, Leroy. Works a treat!

1 Like

Very nice. I use this to add alarms/reminders in ics-files by replacing END:VEVENT with a VALARM block (followed by END:VEVENT) for all events in one go.

One important remark though: I experience that it only works if I copy whatever I want to paste from a LibreOffice Document. Eventhough it’s just text, it didn’t work with text copied in notepad++ or somewhere else. The result here was one paste with all other occurrences replaced by an empty line. Who cares? But you got to know.

1 Like

Good remark. That’s similar to when pasting as unformatted text in a Calc range, or in more than one cell in a Writer table.
Tested in version 7.4.3.2.