View Single Post
Old 05-21-2020, 12:09 AM   #10
hobnail
Running with scissors
hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.
 
Posts: 1,589
Karma: 14328510
Join Date: Nov 2019
Device: none
Another way to accomplish what theducks said about a regular expression is to use the plugin Diaps editing toolbag. With it you can delete the outer p, span, and strong, and then convert the span around the chapter title to h3. When cleaning up books from Gutenberg I nuke all of their classes and whatnot, merge the files like DNSB said, copy everything between the body tags and paste it into a new file, then in that split on the h3 or whatever tags.
hobnail is offline   Reply With Quote