View Single Post
Old 10-25-2009, 05:45 AM   #1
hover
Junior Member
hover began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Oct 2009
Device: Amazon Kindle 2
Multiline Regex Footer

Hey,

since many hours im trying to cut the page number of an ebook with the "footer remove" option.
Code:
4&nbsp;<br>
&nbsp;<br>
<hr>
<A name=5></a>&nbsp;<br>
PROLOG &nbsp;<br>
&nbsp;<br>
This is the code i try to cut and i fail because there are multiple lines.

I have searched this board and many other regex, but didnt find a solution.
My tries so far:
Code:
(?m)((&nbsp;<br>)(<hr>))
Code:
^((\d+&nbsp;<br>)\n(&nbsp;<br>)\n(<hr>)\n(<A name=\d+</a>&nbsp;<br>))^
I tried them in every possible constelation, but i think that this calibre regex blocks multiline?

Thanks for answers!
hover is offline   Reply With Quote