If you work with Writer … You NEED ALTSEARCH;
Extension that gives you much more powerful search&replace than the default .
Download here :
https://extensions.libreoffice.org/en/extensions/show/alternative-dialog-find-replace-for-writer
Instructions and complete tips and usage here:
http://macrojtb.hys.cz/HelpAltSearch_en.html
⌡im [THE BookMan]