View Single Post
Old 06-23-2019, 06:03 AM   #4
carmenchu
Groupie
carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.
 
Posts: 193
Karma: 266070
Join Date: Dec 2010
Location: Spain
Device: Win10,Win11,Ubuntu,PockbookLux44
Please,
Quote:
Originally Posted by theducks View Post
Code:
 Looks for naked between a /H1 at the end of a line and a P tag at the start of a line 
Search: </h1>\s+(.+?)\s+<p>
Replace: <h1><p>\1></p> <p>
shouldn't be
Code:
Search: </h1>\s+(.+?)\s+<p>
Replace: </h1> <p>\1</p> <p>
and
Quote:
Originally Posted by theducks View Post
second: looks for naked between /P and P tags
Code:
Search: </p>\s+(.+?)\s+<p>
Replace: </p> <p>\1></p> <p>
Code:
Search: </p>\s+(.+?)\s+<p>
Replace: </p> <p>\1</p> <p>
Have found the same faulty encoded books more than once...
carmenchu is offline   Reply With Quote