Re: [libreoffice-users] Find all within brackets

2020-09-11 Thread Philip Jackson
On 11/09/2020 01:38, Ade Malsasa Akbar wrote: Interesting question, Seamas. I found a reference here https://stackoverflow.com/a/27225148 and tried that on LibreOffice Writer 6.4 and it seems it works: (?<=\[).+?(?=\]) It can find your "[thus]" without the brackets. I've tried the various

Re: [libreoffice-users] Find all within brackets

2020-09-11 Thread Séamas Ó Brógáin
Thanks to everyone for your help. The job is now done, and it’s a pleasure to behold! I’m very grateful for all the help. Séamas -- -- To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting

Re: [libreoffice-users] Find all within brackets

2020-09-10 Thread Brian Barker
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)

Re: [libreoffice-users] Find all within brackets

2020-09-10 Thread Ade Malsasa Akbar
Interesting question, Seamas. I found a reference here https://stackoverflow.com/a/27225148 and tried that on LibreOffice Writer 6.4 and it seems it works: (?<=\[).+?(?=\]) It can find your "[thus]" without the brackets. -- To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org

Re: [libreoffice-users] Find all within brackets

2020-09-10 Thread Brian Barker
At 18:42 10/09/2020 +0100, Séamas Ó Brógáin wrote: Some time ago Brian Barker provided a brilliant formula for finding all text between less-than and greater-than signs, namely <[^>]*> I've been trying to adapt it to finding text within brackets [thus], but without success. I know that

Re: [libreoffice-users] Find all within brackets

2020-09-10 Thread Séamas Ó Brógáin
Thank you (once again), Brian. I’l 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

[libreoffice-users] Find all within brackets

2020-09-10 Thread Séamas Ó Brógáin
Some time ago Brian Barker provided a brilliant formula for finding all text between less-than and greater-than signs, namely <[^>]*> I’ve been trying to adapt it to finding text within brackets [thus], but without success. I know that brackets as such, as distinct from regular expressions,