View Single Post
Old 09-16-2010, 02:11 PM   #1
potestus
Enthusiast
potestus began at the beginning.
 
Posts: 27
Karma: 10
Join Date: Jul 2010
Device: sony prs-600
REGEX find and replace help please

I have code that looks like:
<p class="calibre1">69</p> Where 69 is a chapter number
and I want them all to be like:

<h3>Chapter 69</h3>

obviously there are lots of <p class="calibre1">

Wild card <p class="calibre1">??< can find all the chapters but I have no way of resolving ?? to the chapter number.

I understand that REGEX could do this... any chance of a clue here - It may also help me to understand the concept.

Thanks in anticipation.
potestus is offline   Reply With Quote