At 20:49 10/09/2020 +0100, Séamas Ó Brógáin wrote:
Thank you (once again), Brian. I'll test all
this in the morning. What I'm trying to achieve
is to select all the terms inside the brackets
and then in one fell swoop (1) to change them
all to italic (and therefore excluding the
brackets) and (2) to change the language of the
text within the brackets to a different one from
the main text. I'll do it all manually if
necessary, but there are an awful lot of them!
No need. First use
\[[^]]*\]
and Find All to select all the bracketed phrases.
Then apply italics and the change of language. Then search for
[|]
(meaning open bracket or close bracket) and again
Find All to select all brackets. Now undo italics
and (if it matters) reset the language for the brackets themselves.
I trust this helps.
Brian Barker
--
To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org
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
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: 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.