View Single Post
Old 03-28-2019, 04:33 PM   #9
meghane_e
Zealot
meghane_e juggles running chainsaws for a bit of light exercisemeghane_e juggles running chainsaws for a bit of light exercisemeghane_e juggles running chainsaws for a bit of light exercisemeghane_e juggles running chainsaws for a bit of light exercisemeghane_e juggles running chainsaws for a bit of light exercisemeghane_e juggles running chainsaws for a bit of light exercisemeghane_e juggles running chainsaws for a bit of light exercisemeghane_e juggles running chainsaws for a bit of light exercisemeghane_e juggles running chainsaws for a bit of light exercisemeghane_e juggles running chainsaws for a bit of light exercisemeghane_e juggles running chainsaws for a bit of light exercise
 
Posts: 114
Karma: 38500
Join Date: Sep 2016
Location: San Jose, CA
Device: Kindle moving to Kobo or Boox
Thanks again everyone! Well, this gets me the content I want, at least on reg101.com and in the Editor:

Given code:
Code:
<h3 class="calibre_5"><span class="calibre3"><span class="bold">
<a href="http://www.noname.org/forums/story/david-mcleod/thetranslator/3" class="calibre2"><span class="calibre_1">
<span class="underline">3. Escape</span></span></a>
</span></span></h3>
The Find expression:
(<h3[^>]+>(<[^>]+>)+)([^<]+)(([^>]+>)+(.*<\/h3>))

Replace with \3

But that seems overly complicated?

Edit:Yay! (<h3.*>)(\w[^<]+)(<.+>)(<\/h3>) does work. There was a hidden newline in the generated code. Once I found it and took it out, it was happy

Last edited by meghane_e; 03-28-2019 at 04:38 PM.
meghane_e is offline   Reply With Quote