View Single Post
Old 06-22-2020, 08:00 AM   #5
thiago.eec
Wizard
thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.
 
Posts: 1,217
Karma: 1419583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
Quote:
Originally Posted by AlwaysNew View Post
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>
thiago.eec is offline   Reply With Quote