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


At 06:19 20/02/2016 -0700, John Meyer wrote:
I was trying to find a way to find and replace the beginning single tick in a column of cells, ...

Replace with what, pray?

... and out of frustration and trying to set up step one in a longer scheme of steps, I tried this:
Find
^.
Replace
&

It seemed to work instantly for some unknown reason. Exactly what did I do?

You must have had "Regular expressions" ticked. With that setting, the dot in the "Search for" box matches any single character and the circumflex requires the match to occur at the beginning of a paragraph. So yes; this will match the first character of each paragraph in the range. The ampersand in the "Replace with" box inserts a copy of the string that was matched by the search criterion - so here it will simply replace the matched text with what you had before. This will have no effect, of course - unless you have chosen to modify the attributes or the format of the string, in which case this technique can be very useful.

I trust this helps.

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

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.