it is much easier to let tidy do it but I could not get it to work in v7.
the reason for not doing the whole thing in regex is just complexity. you have to capture what comes after CHAPTER & embed in the replace line, plus I hate it when "Upgrades" take away stuff takes worked before.
i did one the "hard way" yesterday but then decided to ask if my old workflow could still be made to work.
stripping double embedded blockquotes is also much harder now that you can't ask tidy to do half of the work
it was very reliable before so long as you used replace all and not just replace. not just for this but also for upgrading/ downgrading header tags e.g. <h1 to <h2. I got used to doing a visual check before saving so if the book did get screwed up I'd discard & start over.
|