Results 1 to 2 of 2
  1. #1
    2 Star Lounger
    Join Date
    Jun 2002
    Location
    Durham, North Carolina, USA
    Posts
    140
    Thanks
    5
    Thanked 1 Time in 1 Post

    Using find to find digits (W97)

    In several large documents I have to find any instance of any digit followed by a space and replace it with the same digit followed by a hard (nonbreaking)space. I don't see any way to do it using Word's Find feature (strangely, though, Access would let me do it) because Word's wildcards don't allow for the finding of digits.

    Anyone know a way to do this??

    Thanks

  2. #2
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Los Angeles Area, California, USA
    Posts
    7,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Using find to find digits (W97)

    Using wildcards:
    FW: ([!0-9][0-9]{1})sp where sp=a single space
    ReplaceAll: 1hd where hd = hard space made using Ctrl+Shift+Spacebar

    I'm assuming from your question that you're looking for a single digit & not double, triple, etc. digits. If you wanted the latter, just leave out the [!0-9] (first bracketed expression).

    Cheers,

Posting Permissions

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