View Single Post
Old 08-25-2014, 08:19 AM   #3
arspr
Dead account. Bye
arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.
 
Posts: 587
Karma: 668244
Join Date: Mar 2011
Device: none
Quote:
Originally Posted by mrmikel View Post
Try this:

Find:<p>Chapter (.+?)</p>
Replace:<h2>Chapter \1<\h2>

Do this one at a time to make sure you don't pick up references to Chapter x in the text itself.
If your chapters are just numbers this Find would be a little safer
<p>Chapter (\d+?)</p>
arspr is offline   Reply With Quote