Quote:
Originally Posted by AlwaysNew
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?
|
If the "p23" class is fix, then you could just use this:
Search:
Code:
<p class="p23">(.*?)</p>
Replace:
Code:
<h1 class="p23">\1</h1>