Doesn't even the most rabid command line hater have to admit that copy and pasting:
Code:
unzip file_name.epub
sed -ie 's; <a id="page_[0-9]*"/> ;;g' *.html
zip -u file_name.epub *.html
is the simplest and easiest way, provided unzip, zip, and sed are installed? (The unzipped files would then need to be deleted, but that should not be a problem.)