View Single Post
Old 06-20-2011, 05:29 AM   #5
madeinlisboa
Enjoy Life
madeinlisboa began at the beginning.
 
Posts: 26
Karma: 10
Join Date: Jun 2011
Location: Portugal
Device: Kindle
I found a great solution and I would like to share. Fortunately the search/replace is done before the chapter detection, so all you have to do is search eg.
Code:
Chapter\s*(\d+)
and replace with eg.
Code:
<h2>Chapter \1</h2>
. This way the chapters are properly found and converted.
madeinlisboa is offline   Reply With Quote