News, tips, advice, support for Windows, Office, PCs & more. Tech help. No bull. We're community supported by donations from our Plus Members, and proud of it
Home icon Home icon Home icon Email icon RSS icon
  • Remove spaces in Word 2010

    Posted on ClarkKenyon Comment on the AskWoody Lounge
    Viewing 1 reply thread
    • Author
      Posts
      • #1959155 Reply
        ClarkKenyon
        AskWoody Lounger

        A client sent me a very long document full of manual endnotes. Using Find/Replace, I converted all the manual reference numbers to a specific style. But he has left a space before each number. Would someone be willing to explain to me how I can automate removing those spaces using Find/Replace? Thanks!

        Clark

      • #1959962 Reply
        anonymous
        Guest

        ClarkKenyon wrote:
        A client sent me a very long document full of manual endnotes. Using Find/Replace, I converted all the manual reference numbers to a specific style. But he has left a space before each number. Would someone be willing to explain to me how I can automate removing those spaces using Find/Replace? Thanks!

        Hello Clark.

        Don’t know precise format of your endnote reference numbers, but maybe try something like this…

        Open Find/Replace dialog box, click “More>>” button, then check “Use wildcards” option

        Find what:
        ( )([0-9]{1,4}. )

        Replace with:
        \2

        Why? The first expression should find any _single space_ followed by _a 1-4 digit number followed by a period and a space_… the second expression should then replace the found two-part combination with only the second part (i.e., the 1-4 digit number followed by a period and a space) eliminating the unwanted leading space. Hope this helps.

    Viewing 1 reply thread

    Please follow the -Lounge Rules- no personal attacks, no swearing, and politics/religion are relegated to the Rants forum.

    Reply To: Remove spaces in Word 2010

    You can use BBCodes to format your content.
    Your account can't use Advanced BBCodes, they will be stripped before saving.