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

Thank you, Brian. That works perfectly!

On Tue, 02 Jan 2018 04:35:46 +0000
Brian Barker <> wrote:

At 22:41 01/01/2018 -0500, Eddie Noname wrote:
I have a number of spreadsheets in which one column contains text; 
each cell has different contents. I would like to be able to select 
regions in this column and add a semi-colon to the end of each 
selected cell, without disturbing the rest of the contents. Can this
be done?  

Yup. Search for .* (that's dot-asterisk) and replace with &; (that's 
ampersand-semicolon). In the Find & Replace panel, click More Options 
and ensure that both "Current selection only" and "Regular 
expressions" are ticked. Click Replace All.

How does it work? In the "Search for" box, the dot matches any 
character and the asterisk extends this to match zero or more of such 
characters - in other words, all the text you have in any cell. In 
the "Replace with" box, the ampersand represents the original matched 
string and the semicolon is the character you want added.

I trust this helps.

Brian Barker

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.