#1
|
|||
|
|||
Find and Replace with space
Hi,
I am trying the following find and replace in Word 2016 with Wildcards on: (p.)([1-9]) \1 \2 The author has, for instance, p.23 and I want it to be p. 23 (with a space between the abbreviation for page and the numeral). However, my output is p.2 3 I'm guessing I'm just missing a simple fix, but I'm not seeing it at the moment. Any ideas? Thank you in advance! |
#2
|
||||
|
||||
A wildcard Find/Replace, with:
Find = (p.)([0-9]) Replace = \1 \2 should turn: p.23 into: p. 23 I can see no reason for the behaviour you describe with that F/R. I suspect an errant F/R has been used somewhere along the line.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#3
|
|||
|
|||
Yea, I just wanted to make sure I wasn't going crazy. I just repeated it and got the same issue. I do have some tracked changes in the document (although it's not too heavy yet). There only ended up being a few instances in the document, so I just changed them manually. If I run into this again in the future, I'll see if I can nail down the problem. Thank you for your quick response Paul.
|
#4
|
||||
|
||||
Ah, using Tracked Changes changes everything! That explains the behaviour. You may get better results with:
Find = (p.)([0-9]{1,}) Replace = \1 \2 but you may even need to turn Tracked Changes off while doing the F/R.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
VBA Batch Find & Replace for all MSOffice extensions, to replace File Name and Content of the File | QA_Compliance_Advisor | Word VBA | 11 | 09-11-2014 11:51 PM |
Find what box in Find and replace limits the length of a search term | Hoxton118 | Word VBA | 7 | 06-10-2014 05:05 AM |
Find/Find and Replace Loop | Tango Mike | Word | 3 | 04-20-2014 02:47 PM |
Bad view when using Find and Find & Replace - Word places found string on top line | paulkaye | Word | 4 | 12-06-2011 11:05 PM |
Help with find and replace or query and replace | shabbaranks | Excel | 4 | 03-19-2011 08:38 AM |