Thanks JS, but the replace code you suggested replaces the entire chapter.
Quote:
Originally Posted by JSWolf
Replace with...
Code:
<h1 class="p15">\1</h1>
|
I need to replace one open and closed p tag (with a nested span and chapter title inside it) with an h1 tag.
That is, from this:
Code:
<p class="p23"><span id="chapter-5"></span>Coming Home</p>
To this:
Code:
<h1 class="p15"><span id="chapter-5"></span>Coming Home</p>
And I want to do that with every succeeding chapter in the book.
Thanks in advance for your help!