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
o Search for $ (dollar).
o Replace with nothing.
There may be more elegant solutions ...
I trust this helps.
To unsubscribe e-mail to: email@example.com
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Impressum (Legal Info)
: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (MPLv2
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our trademark policy