Quote:
Originally Posted by theducks
 You were relying on Tidy to clean up after you deliberately made mess (if you insist on continuing this insanity, change your clean source preferences to use Tidy HTML)
IMHO a tiny bit more REGEX and you could have rebuilt with the proper H2 closing tag
Code:
<p class="calibre2">Chapter (.+?)</p>
Code:
<h2 class="chhead">Chapter \1</h2>
Lots cleaner (code save reliability wise)
|
Thank you. I will save those and try to use them again in the future.
The truth is that I am hit or miss with the Regex and I don't like to come here and ask people to troubleshoot code for me all the time. I feel like I'm taking advantage.
When I was using XP the making a mess and letting Tidy fix it was working for me, now not so much.