View Single Post
Old 04-10-2011, 11:26 PM   #5
atjnjk
Zealot
atjnjk will become famous soon enoughatjnjk will become famous soon enoughatjnjk will become famous soon enoughatjnjk will become famous soon enoughatjnjk will become famous soon enoughatjnjk will become famous soon enough
 
Posts: 105
Karma: 554
Join Date: Oct 2008
Device: none
Normally, I select&copy everything I want to remove to "Regex:" textbox
Code:
<br>
1 <br>
 <br>
<hr>
<A name=6></a>
Then I replace every number in that textbox with "\d+"
Code:
<br>
\d+ <br>
 <br>
<hr>
<A name=\d+></a>
Be careful with whitespaces.

I think a standalone "+" doesn't do anything and is an error. You should read An introduction to regular expressions and All about using regular expressions in calibre.

Last edited by atjnjk; 04-10-2011 at 11:36 PM.
atjnjk is offline   Reply With Quote