View Single Post
Old 05-04-2016, 11:10 AM   #8
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,133
Karma: 60406498
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by notaguru View Post
...and the solution to Problem A illuminated Problem B - which is at a lower level of importance, but I'm greedy.

B includes spurious bold and large single-digit chapter headings. They're spurious because they don't really define chapters but produce unwanted breaks in the text. I don't know why it happened, but the solution might be as simple as that shown below, though I welcome a way to further focus upon the offending digit by identifying it as BOLD.

\s[0-9]\s

But there may be an even neater solution. The HTML shows

<h3 class="calibre7">9 </h3><p class="calibre2">

How can I delete those lines, replacing the digit "9" with any single digit?
Code:
<h3 class="calibre7">\d\s</h3>\s*<p class="calibre2">
\d is any digit
\s is a space (I prefer to see spaces in my pattern There was a space in your example

Last edited by theducks; 05-04-2016 at 11:12 AM. Reason: If prettifiedit needs line end help
theducks is offline   Reply With Quote