View Single Post
Old 12-07-2024, 02:39 PM   #10
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
Quote:
Originally Posted by theducks View Post
did you have Dot all checked? That makes it Greedier than you want.
If Dot all is unchecked I don't get any hits. With it checked it's greedier than I want.

I'm starting to think I need a function that first finds <h1>(.*?)</h1>, then searches \1 for <br/> and does the replace. I'm just not sure how to do this.
foosion is offline   Reply With Quote