Results 1 to 3 of 3
  1. #1
    2 Star Lounger
    Join Date
    Mar 2001
    Posts
    165
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Find/replace in footnotes (2002 SP3)

    To my question of 11/28/2008:
    I'm trying to figure out how to remove one space before every footnote mark in a document. I can do a Find for (space)+^f, but there's no ^f available in the Replace With list.
    HansV posted the following:

    Tick the "Use wildcards" check box in the Replace dialog.
    Enter ( )(^2) in the Find what box, and 2 in the Replace with box.
    The parentheses divide the search text into two parts - the first contains a space and the second ^2, the code that can be used to find a footnote mark while using wildcards.
    The 2 in the replacement text refers to the second part of the search text.

    This worked great when I first tried it. Now today when I try it, instead of the spaces before the footnote marks being removed, every footnote mark is replaced with a "2". What's going on?
    Last edited by Gary Frieder; 2011-06-19 at 02:36. Reason: Removed non-functioning 'code' tags

  2. #2
    Super Moderator
    Join Date
    Dec 2000
    Location
    New York, NY
    Posts
    2,970
    Thanks
    3
    Thanked 29 Times in 27 Posts
    Instead of putting "2" in the replace box, try "\2".

    Gary

  3. #3
    2 Star Lounger
    Join Date
    Mar 2001
    Posts
    165
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I figured out what was wrong. In this particular document, the spaces before the foot note marks were non-breaking spaces. I just did a search for nbs, replaced with nothing, and they were gone.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •