View Single Post
Old 02-07-2017, 02:32 PM   #2
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
Quote:
Originally Posted by skb View Post
How do I search and replace for something like this in the HTML?

Code:
<br class="calibre4" />
  <br class="calibre4" />
That is, two tags that appear across line breaks.
A regex like this would work:

Search: <br[^>]+>\s+<br[^>]+>
Replace: </p> <p> (or whatever you want)
Tex2002ans is offline   Reply With Quote