From: Matthew C. on 19 Mar 2010 21:17 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.
From: Pamelia Caswell via OfficeKB.com on 19 Mar 2010 22:59 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
From: macropod on 20 Mar 2010 00:13 Hi Matthew, You could use a wildcard Find/Replace, with: Find = (.)([A-Z]) Replace = \1 \2 -- Cheers macropod [Microsoft MVP - Word] "Matthew C." <MatthewC(a)discussions.microsoft.com> wrote in message news:19AA9D08-2A5D-4CBE-BFE6-D535BC025185(a)microsoft.com... > 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.
From: Opinicus on 20 Mar 2010 01:19 On Sat, 20 Mar 2010 02:59:40 GMT, "Pamelia Caswell via OfficeKB.com" <u43222(a)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
From: Graham Mayor on 20 Mar 2010 02:26 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" <gezgin(a)spamcop.net.which.is.not.invalid> wrote in message news:ikm8q51oahm0avosnhbeu09u4ef7akphve(a)4ax.com... On Sat, 20 Mar 2010 02:59:40 GMT, "Pamelia Caswell via OfficeKB.com" <u43222(a)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
|
Pages: 1 Prev: Numbering bugs when saving Word 2007 as Word 97-2003 Next: Hyperlinks in Word 2007 |