Quote:
Originally Posted by cthrax
I tweaked and tweaked and came out with a regex that get rid of all the abbyy stuff...
|
You can retain the bold chapter headers (and other bolded text lines) by using the following three Search & Replace items:
1. Search Expression: <b>(.+)</b><br>
Replacement text: @@\1@@
2. Search Expression (from cthrax):
Code:
(<a href="http://www.abbyy.com/buy"><b>[a-zA-Z\.0-9 ]{1,3}</b></a><br>)|<a href="http://www.abbyy.com/buy"><b>Click here to buy</b></a><br>|<a href="http://www.abbyy.com/buy"><b>PDF Transform</b></a><br>|<A.*?</a>|<a href="http://www.abbyy.com/buy">|</a>|</b>|<b>|\.?A ?B ?B ?Y ?Y ?\.c[ o]?m?
Replacement text:
3. Search Expression: @@(.+)@@
Replacement text: <b>\1</b><br>