View Single Post
Old 12-07-2024, 11:14 AM   #3
foosion
Evangelist
foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.
 
Posts: 479
Karma: 41524
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
<br> was a typo - I meant <br/>

The code I posted finds all of my <h1>s, the problem is it also finds large areas of text not within <h1>...<h1/> if there isn't a <br/> inside. I do have Dot All checked, otherwise it doesn't find the <h1>...<h1/>s; none are single line.

So the question is how to just find <br/> within <h1>...<h1/> with Dot All checked? IOW, when there are <h1>s without a <br/>, how to avoid stretching the selection to the next </h1>?
foosion is offline   Reply With Quote