Quote:
Originally Posted by gbm
Quick and dirty but works.
Question does your span id have spaces around the number?
Search:
Code:
<p class="p(\d+)"><span id=“(\d+)”></span>(.*?)</p>
Replace:
Code:
<h1 class="p23"><span id=“\1”></span>\2</h1>
bernie
|
Thanks, but I think I was not clear enough. I already have the chapter numbers and titles in each file, I just want to change the beginning class and its closing tag from <p to <h1 and leave the nested code as is.
Make sense?