Quote:
Originally Posted by notaguru
...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