Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
How do I search for a condtion that does NOT exist in a document?
My document, converted from .PDF, has many places with no space after the
period (.)at the end of a sentence. I want to find&replace the document for periods that do NOT have a space after them. Before I go the long way and search for ".a", ".b", ".c", etc. I'd like to know if there is an easier way. |
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
How do I search for a condtion that does NOT exist in a document?
You can do a wildcard search for .[!sp] and replace that with .sp, where sp
= space. But note that you could get inappropriate changes such as spaces within decimals and abbreviations (such as 1. 04 and U. N. C. L. E. instead of 1. 04 and U.N.C.L.E.). HTH, Pam Matthew C. wrote: My document, converted from .PDF, has many places with no space after the period (.)at the end of a sentence. I want to find&replace the document for periods that do NOT have a space after them. Before I go the long way and search for ".a", ".b", ".c", etc. I'd like to know if there is an easier way. -- Message posted via http://www.officekb.com |
#3
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
How do I search for a condtion that does NOT exist in a document?
You can do a wildcard search for .[!sp] and replace that with .sp, where sp
= space. But note that you could get inappropriate changes such as spaces within decimals and abbreviations (such as 1. 04 and U. N. C. L. E. instead of 1. 04 and U.N.C.L.E.). HTH, Pam Matthew C. wrote: My document, converted from .PDF, has many places with no space after the period (.)at the end of a sentence. I want to find&replace the document for periods that do NOT have a space after them. Before I go the long way and search for ".a", ".b", ".c", etc. I'd like to know if there is an easier way. -- Message posted via http://www.officekb.com |
#4
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
How do I search for a condtion that does NOT exist in a document?
Hi Matthew,
You could use a wildcard Find/Replace, with: Find = (.)([A-Z]) Replace = \1 \2 -- Cheers macropod [Microsoft MVP - Word] "Matthew C." wrote in message ... My document, converted from .PDF, has many places with no space after the period (.)at the end of a sentence. I want to find&replace the document for periods that do NOT have a space after them. Before I go the long way and search for ".a", ".b", ".c", etc. I'd like to know if there is an easier way. |
#5
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
How do I search for a condtion that does NOT exist in a document?
Hi Matthew, You could use a wildcard Find/Replace, with: Find = (.)([A-Z]) Replace = \1 \2 -- Cheers macropod [Microsoft MVP - Word] "Matthew C." wrote in message ... My document, converted from .PDF, has many places with no space after the period (.)at the end of a sentence. I want to find&replace the document for periods that do NOT have a space after them. Before I go the long way and search for ".a", ".b", ".c", etc. I'd like to know if there is an easier way. |
#6
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
How do I search for a condtion that does NOT exist in a document?
On Sat, 20 Mar 2010 02:59:40 GMT, "Pamelia Caswell via OfficeKB.com"
u43222@uwe wrote: You can do a wildcard search for .[!sp] and replace that with .sp, where sp = space. I can't seem to get this to work. Where is ! documented for use in search and replacement? -- Bob http://www.kanyak.com |
#7
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
How do I search for a condtion that does NOT exist in a document?
On Sat, 20 Mar 2010 02:59:40 GMT, "Pamelia Caswell via OfficeKB.com"
u43222@uwe wrote: You can do a wildcard search for .[!sp] and replace that with .sp, where sp = space. I can't seem to get this to work. Where is ! documented for use in search and replacement? -- Bob http://www.kanyak.com |
#8
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
How do I search for a condtion that does NOT exist in a document?
See http://www.gmayor.com/replace_using_wildcards.htm
-- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org "Opinicus" wrote in message ... On Sat, 20 Mar 2010 02:59:40 GMT, "Pamelia Caswell via OfficeKB.com" u43222@uwe wrote: You can do a wildcard search for .[!sp] and replace that with .sp, where sp = space. I can't seem to get this to work. Where is ! documented for use in search and replacement? -- Bob http://www.kanyak.com |
#9
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
How do I search for a condtion that does NOT exist in a document?
See http://www.gmayor.com/replace_using_wildcards.htm
-- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org "Opinicus" wrote in message ... On Sat, 20 Mar 2010 02:59:40 GMT, "Pamelia Caswell via OfficeKB.com" u43222@uwe wrote: You can do a wildcard search for .[!sp] and replace that with .sp, where sp = space. I can't seem to get this to work. Where is ! documented for use in search and replacement? -- Bob http://www.kanyak.com |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Search and Insert, Search and Replace, Modify Document Margins | Formatting Long Documents | |||
TOC does not update all the Headers which exist in the document | Microsoft Word Help | |||
Where else do you think education exist? | Microsoft Word Help | |||
RTL keyboard shortcut that shouldn't exist | Page Layout | |||
Overtype mode - why does it even exist??! | Microsoft Word Help |