At 19:01 26/03/2020 +0100, Procuste Piziocampte wrote:
In a writer document I would like to find paragraph breaks (A paragraph break that can be entered with the Enter or Return key) with a tab so following the instructions ... . I should perform a find/replace: in find \n and in replace \t or if it doesn't works in find \n and in replace \n and then in find \n and in replace \t checking the regular expression box (only that one) but it doesn't work, writer gives me the "search key not found"

That is because in the search box \n finds *line* breaks (created with Shift+Enter), not paragraph breaks.

how can I solve?

If I understand you correctly, try this. First:
o Search for (.)$  (left parenthesis - dot - right parenthesis - dollar).
o Replace with $1\t (dollar - one - backslash - lowercase tee).
The search matches any single character at the end of a paragraph. The replace string replaces whatever that character is and adds a tab character.

Then:
o Search for $ (dollar).
o Replace with nothing.

There may be more elegant solutions ...

I trust this helps.

Brian Barker


--
To unsubscribe e-mail to: [email protected]
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy

Reply via email to