h1+p, h2+p, h3+p {text-indent:0;} always works for me using extra css during conversion. No need for regex unless there is a conflicting style, and I haven't run into that yet personally.
It does require that the book using heading tags for chapter titles though, obviously. If your chapter headings are using some specific style you can trigger off that as well:
div.chaptertitlestyle+p {text-indent:0;}
You just need to look in the html ahead of time and make it match whatever tags/styles are being used.
|