View Single Post
Old 12-14-2023, 02:48 PM   #1440
nabsltd
Fanatic
nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.
 
Posts: 522
Karma: 8500000
Join Date: Aug 2013
Location: Hamden, CT
Device: Kindle Paperwhite (11th gen), Scribe, Kindle 4 Touch
Quote:
Originally Posted by Walnut356 View Post
It's possible to fix it by hand, but a little tedious if there's a lot of them.
If all the tables have the same structure, a regex to find the tfoot before the tbody would allow you to fix the entire book at once.

Just wrap the <tfoot>.*</tfoot> and <tbody>.*</tbody> in capture groups (parenthesis for many regex flavors, but it can vary) and then replace with \2\1.
nabsltd is offline   Reply With Quote