I'm at the verge of gibbering. Since all of the really smart folks hang out here, I know someone has the answer. The book I'm working on has 72 blocks similar the the following:
Code:
<div class="stanza">
<p>“‘Tell me, my old friend, tell me why</p>
<p>You sit and softly laugh by yourself.’</p>
<p>‘It is because I am repeating to myself,</p>
<p>Write! write</p>
<p>Of the valiant strength,</p>
<p>The calm, brave bearing</p>
<p>Of the sons of the sea.’”</p>
</div>
I need to get rid of the <p>...</p> tags and replace with the following:
Code:
<div class="stanza">
“‘Tell me, my old friend, tell me why<br />
You sit and softly laugh by yourself.’<br />
‘It is because I am repeating to myself,<br />
Write! write<br />
Of the valiant strength,<br />
The calm, brave bearing<br />
Of the sons of the sea.’”<br />
</div>
I've been through every manual and web reference I can find and nothing I've tried has worked. Nothing comes close to finding a series of items between two markers. I know that anything can be done with regex's if you are only smart enough or can frame the right question to google.