Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-12-2011, 09:46 AM
tollanarama tollanarama is offline Find and replace page numbers in body of text Windows XP Find and replace page numbers in body of text Office 2003
Novice
Find and replace page numbers in body of text
 
Join Date: Jan 2011
Posts: 6
tollanarama is on a distinguished road
Default Find and replace page numbers in body of text

Following on from my post here (https://www.msofficeforums.com/word/...ix-suffix.html)
I've got a document with in body text page numbers (it's a scanned in book) and I wish to remove these.



The format of the page numbers is [*] (e.g. page number within square brackets) and I wist to remove them from the body text.

Is there anyway to seach for a wildcard with [ before & ] after and automatically delete?

Thanks
Reply With Quote
  #2  
Old 02-13-2011, 03:52 AM
bannisa bannisa is offline Find and replace page numbers in body of text Windows Vista Find and replace page numbers in body of text Office 2010 32bit
Novice
 
Join Date: Feb 2011
Posts: 3
bannisa is on a distinguished road
Default

Unfortunately, the '[' and ']' characters have a special function in wildcard usage, so trying to change them while using the wildcard feature is a problem.

Try the following:

With the wildcard feature unselected, use Replace to change all your '[' characters to something that is not generally found in your document. Perhaps XxX, or @-@. Then do the same for the ']' character.

This should turn [1] into XxX1XxX and [100] into XxX100XxX, etc.

Now turn on the wildcard option, and use Find/Replace for XxX*XxX. This will find any string enclosed within the XxX characters. If you leave the Replace box empty, you should delete all the old page numbers in your scanned document. (Assuming you have used OCR to convert it to text.)

I suggest that to begin with you use 'Find Next' and Replace individually, just to be sure your document does not have other strings of text enclosed in [] brackets or you might loose some important content by mistake. Only use Find All when you are confident...
Reply With Quote
  #3  
Old 02-13-2011, 04:13 AM
tollanarama tollanarama is offline Find and replace page numbers in body of text Windows XP Find and replace page numbers in body of text Office 2003
Novice
Find and replace page numbers in body of text
 
Join Date: Jan 2011
Posts: 6
tollanarama is on a distinguished road
Default

Thanks for the excellent reply.
So simple yet elegant!
Reply With Quote
  #4  
Old 02-13-2011, 06:00 AM
bannisa bannisa is offline Find and replace page numbers in body of text Windows Vista Find and replace page numbers in body of text Office 2010 32bit
Novice
 
Join Date: Feb 2011
Posts: 3
bannisa is on a distinguished road
Default

Glad to be of help.
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Find and replace page numbers in body of text replace automatically generated page numbers LitWissOnline Word 3 01-24-2011 03:40 PM
Text and page numbers in footers? MikeT1953 Word 0 07-09-2010 08:14 PM
Add text to page numbers alpruett Word 0 07-07-2010 09:40 AM
help with find and replace sjkiss Word 1 04-12-2010 08:08 AM
Find /Replace Help ilcaa Word 2 11-02-2009 08:41 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 12:42 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft