![]() |
#1
|
|||
|
|||
![]() 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] |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
QA_Compliance_Advisor | Word VBA | 11 | 09-11-2014 11:51 PM |
![]() |
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 |
![]() |
paulkaye | Word | 4 | 12-06-2011 11:05 PM |
![]() |
shabbaranks | Excel | 4 | 03-19-2011 08:38 AM |