I'm puzzled by what you're trying to do and why.
Are you trying to remove content from a copyright book? I'm not sure this is legal.
If it is legal, why not download the book to your computer and try to do this in Calibre . . . whatever you're trying to do.