View Single Post
Old 02-24-2011, 02:42 PM   #11
Faster
Connoisseur
Faster is a glorious beacon of lightFaster is a glorious beacon of lightFaster is a glorious beacon of lightFaster is a glorious beacon of lightFaster is a glorious beacon of lightFaster is a glorious beacon of lightFaster is a glorious beacon of lightFaster is a glorious beacon of lightFaster is a glorious beacon of lightFaster is a glorious beacon of lightFaster is a glorious beacon of light
 
Posts: 61
Karma: 12096
Join Date: Sep 2010
Location: Tasmania
Device: Sony PRS 650
Couple of points:
It's not clear what sort of books you're dealing with but if they are novels you may have additional punctuation other than the full stop occurring at the ends of paragraphs, for example double or single quotes, or maybe a question mark. Also you may have paragraphs that end with no punctuation but that you want to retain as a paragraph such as Titles, Chapter numbers, sub-headings, a quote, poem verses or the author's name of quotes.

The code given by comtrjl is for Regex which you are probably not using in Word (it is possible but you do it inside a VBA script).
comtrjl's Find code is ^13[0-9]*^13 which in Word using wildcards would find a single digit followed by anything until it finds a paragraph marker.

You need ^13[0-9]@^13 which finds one or more digits bounded by paragraph markers.
If the page numbers include a space, like this '2 3' for 23 then your find code should be ^13[0-9,_]@^13 where the underline is indicating where you put a space.

If the word 'Page' or 'page is included the Find code is ^13[Pp]age [0-9]@^13 or if it's of the form 'Page 123 of 360' you use [Pp]age [0-9]@ of [0-9, ]@^13.

Make sure you click on 'More' in the Find/Replace box and that you enable Wildcards.
Faster is offline   Reply With Quote