View Single Post
Old 07-09-2020, 04:37 AM   #9
AlwaysNew
Member
AlwaysNew began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Jun 2020
Device: Kindle
OK, I've tried using the regex as recommended, but now it's messing things up.

When I search this:
Code:
 <p class="p32">(.*?)</p>
And replace it with this:
Code:
 <h1 class="p20">(\1)</h1>
It changes this:
Code:
 <p class="p32"><span id="chapter-5"></span>Coming Home</p>
To this:
Code:
 <h1 class="p20">(<span id="chapter-5"></span>Coming Home)</h1>
That's just one chapter example, but it puts parentheses around all the chapter titles. What am I missing here??

Any help truly appreciated as regex is not easy for me.
AlwaysNew is offline   Reply With Quote