need regex help search and replace
hy,
i want to ask if someone can help me with a "maybe simple" regex.
sample:
Gwin hatte ihn noch nie<br>
gesehen.<br>
»Ich weiß nicht...«<br>
before every <br> is a linebreak, so it shows not good in epub version.
how can i eleminate the linebreake and <br> if the line counts overall <20 including whitespace?
my first test to get it:
<br>\n(?=.{0,20}<br>)
now it get the lb and <br> bevor the short text and put it together.
how can i insert a whitespace between.
the sample above shows like:
Gwin hatte ihn noch niegesehen.<br> instead of:
Gwin hatte ihn noch nie gesehen.<br>
thanks for your help to a newbie
olaf
|