View Single Post
Old 02-02-2011, 10:21 PM   #4
Archon
Zealot
Archon , Klaatu Barada Niktu!Archon , Klaatu Barada Niktu!Archon , Klaatu Barada Niktu!Archon , Klaatu Barada Niktu!Archon , Klaatu Barada Niktu!Archon , Klaatu Barada Niktu!Archon , Klaatu Barada Niktu!Archon , Klaatu Barada Niktu!Archon , Klaatu Barada Niktu!Archon , Klaatu Barada Niktu!Archon , Klaatu Barada Niktu!
 
Archon's Avatar
 
Posts: 110
Karma: 5176
Join Date: Dec 2010
Device: Mac OSX, iPad, iPod, & Nook
I messed with this a little. I don't know exactly what you are looking for but here is what I have. This should only match on a number followed by a </p> followed by an end of the line.
Search:
of \d+</p>$
Replace
<\p>

So this will find the last line of your three lines with the page number followed by the <\p> at the end of a line. Then replace only the <\p>. It looks like this before:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
sides, and above the jacket collar behind, uncombed. Both beards were short and scant.
<p class="calibre1">
Title</p><p class="calibre1">
Page 42 of 230</p>

The man from the east wore a standard straight sword, the plastic
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

And now after:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
<p class="calibre1">
Title</p><p class="calibre1">
Page 42 </p>
<<<<<<<<<<<<<<<<<<<<<<<<<<<<

This just removes the "of XXX" page numbering part.
Is that what you were after?

Archon
Archon is offline   Reply With Quote