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


At 10:41 06/03/2014 +0000, Phil Hibbs wrote:
Is it possible to do a "negative look-ahead assertion" in a search? If not, does anyone know of any other tools that can open a Microsoft Office document and do this kind of search? What I want to find is a single capital letter that is not followed by two spaces.

Here's a possible workaround:
o Search for double-space and replace with some character not used in your document - perhaps #. o Search for [A-Z][^#] - with both "Match case" and "Regular expressions" ticked.

This will match the capitals you need, but also the following character. If you want to replace just the capital, search for [A-Z]([^#]) instead and append $1 to your replacement string.

In any case, replace # with double-space afterwards, of course.

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.