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: [email protected]
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