At 13:47 02/10/2013 +0200, Paul Steyn wrote:
In many programs this can be done with regular expressions. I just checked in LO Calc, and there is an option for regex.
We are talking about text (Writer) files here, but regular expressions work there too.
Of course, the "simple" way of doing this would be to search for "m2" and replace with "m(2)" (sorry, this is a text only email, so you'll have to imagine the second one has a superscript 2 instead of a 2 in brackets). When you know the term you are searching for, and know that you want to replace only part of it, you can just use a replacement term that is the same as the search term, with the correct part replaced.
The problem is that there appears to be no way in LibreOffice to set a replacement expression that is a mixture of formats - in this case Normal and Superscripted. It's all or nothing. Unless you know better ...
Brian Barker -- To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://listarchives.libreoffice.org/global/users/ All messages sent to this list will be publicly archived and cannot be deleted