Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index

In many programs this can be done with regular expressions. I just
checked in LO Calc, and there is an option for regex.

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

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. But when
you are trying to search for a term that can vary, and then want to
replace only part of the term, you need to use regexen.


On Wed, 02 Oct 2013 20:33:39 +0900
Thomas Blasejewicz <> wrote:

(2013/10/02 20:13), Pedro wrote:
Hi Thomas

Toppa-2 wrote
What is the trick required to turn "2" into superscript?
But ONLY in "m2" and not all "2", since there were lots of other
numbers too.
You are searching for a string (m2) but only want part of it to be

I think this is not possible in any program, but would really be
interested to learn if it is.


Many years ago I used to use Wordperfect and if I recall it
correctly, WP did allow that.

If this is NOT possible, it is a real shame when you are working with 
technical text that contain lots
of symbols or number with some super- or subscripts.
Finding a whole lot of ASCII codes for different characters would not
be very elegant either ...

To unsubscribe e-mail to:
Posting guidelines + more:
List archive:
All messages sent to this list will be publicly archived and cannot be deleted


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.