View Single Post
Old 06-30-2017, 03:55 AM   #5
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,737
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by stumped View Post
I'd like to try to strip all the line and word spans from one para, to see how it looks, and as a technical challenge, before giving up and sending it back
Try the following:

1. Replace all <p class="para"> with <div class="para"> and all </p> with </div>

2. In Regex mode replace:

<span class="[^"]+" style="[^"]+">(.*?)</span>

with

\1

3. Replace all <span class with <p class and all remaining </span> with </p>.

Last edited by Doitsu; 06-30-2017 at 03:57 AM.
Doitsu is offline   Reply With Quote