Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
Matthew C. Matthew C. is offline
external usenet poster
 
Posts: 7
Default 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   Report Post  
Posted to microsoft.public.word.docmanagement
Pamelia Caswell via OfficeKB.com Pamelia Caswell via OfficeKB.com is offline
external usenet poster
 
Posts: 468
Default 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   Report Post  
Posted to microsoft.public.word.docmanagement
Pamelia Caswell via OfficeKB.com Pamelia Caswell via OfficeKB.com is offline
external usenet poster
 
Posts: 468
Default 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   Report Post  
Posted to microsoft.public.word.docmanagement
macropod[_2_] macropod[_2_] is offline
external usenet poster
 
Posts: 2,059
Default 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   Report Post  
Posted to microsoft.public.word.docmanagement
macropod[_2_] macropod[_2_] is offline
external usenet poster
 
Posts: 2,059
Default 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   Report Post  
Posted to microsoft.public.word.docmanagement
Opinicus[_2_] Opinicus[_2_] is offline
external usenet poster
 
Posts: 97
Default 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   Report Post  
Posted to microsoft.public.word.docmanagement
Opinicus[_2_] Opinicus[_2_] is offline
external usenet poster
 
Posts: 97
Default 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   Report Post  
Posted to microsoft.public.word.docmanagement
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default 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   Report Post  
Posted to microsoft.public.word.docmanagement
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default 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

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Search and Insert, Search and Replace, Modify Document Margins instant000 Formatting Long Documents 2 October 26th 09 09:34 PM
TOC does not update all the Headers which exist in the document anne Microsoft Word Help 1 September 29th 06 10:51 AM
Where else do you think education exist? branden Microsoft Word Help 1 January 31st 06 12:22 AM
RTL keyboard shortcut that shouldn't exist JoelAtWork Page Layout 2 December 14th 05 07:29 PM
Overtype mode - why does it even exist??! rbryant Microsoft Word Help 2 August 2nd 05 06:09 PM


All times are GMT +1. The time now is 06:41 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"