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,