We will be migrating from Ask to Discourse on the first week of August, read the details here

Ask Your Question

"Search and Find" is there any way to exclude it from searching in the header and/ footer?

asked 2020-08-02 11:09:51 +0200

reicoffee gravatar image

updated 2020-10-12 00:11:38 +0200

Alex Kemp gravatar image

in Writer using regular expression eg ([:alnum:])([:space:])([:space:]) the search enters into headers and footers which I want to exclude from the main document search or is there a way to lock / write protect the header and footer?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2020-08-02 11:25:48 +0200

keme gravatar image

updated 2020-08-02 11:27:46 +0200

Select all content first, by pressing ctrl+A.

Selecting a range like this enables the checkbox Selection only just above the one for Regular expressions in the Find/Replace dialog. Tick Selection only, and start your search operation.

Headers/footers are parts of layout, not content, so selecting content and ticking selection only should exclude those from your search.

edit flag offensive delete link more


Thanks keme, Yes that is the next best solution I did try that already but since I wrote an AHK script to run through repeated searches and replacing it is difficult to reliably toggle on the "current selection only". It would be easier if there were some way to just "permanently" lockout the headers and footers. but thanks.

reicoffee gravatar imagereicoffee ( 2020-08-04 09:55:54 +0200 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2020-08-02 11:09:51 +0200

Seen: 136 times

Last updated: Aug 02 '20