View Single Post
 
Old 02-21-2018, 05:58 AM
Charles Kenyon Charles Kenyon is offline Windows 10 Office 2013
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,140
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

Quote:
Originally Posted by macropod View Post
You could use a wildcard Find/Replace, where:
Find = ^32\(p[!\)]@\)
Replace = nothing
No macros required.
Paul, your understanding of wildcards far exceeds mine. However, the above replaces (p. 2) and (paragraph 24) but not (pp. 3-7). Is a period needed?

Find = ^32\(p.[!\)]@\)
Replace = nothing

followed by

Find = ^32\(pp.[!\)]@\)
Replace = nothing

Andrea:

For more on wildcards.
Here is a white paper on the subject.
The searches are looking for a space before the first open parenthesis. If your attorney is at all like me and there are any where there is not a space first, they will not be replaced. To take care of that, you could take the ^32 out of the search strings in a cleanup.

Also, remember that wildcard searches are case-sensitive so these will not find (P. 23).
Reply With Quote