Thread: Regex examples
View Single Post
Old 12-04-2014, 06:21 AM   #441
rubeus
Banned
rubeus ought to be getting tired of karma fortunes by now.rubeus ought to be getting tired of karma fortunes by now.rubeus ought to be getting tired of karma fortunes by now.rubeus ought to be getting tired of karma fortunes by now.rubeus ought to be getting tired of karma fortunes by now.rubeus ought to be getting tired of karma fortunes by now.rubeus ought to be getting tired of karma fortunes by now.rubeus ought to be getting tired of karma fortunes by now.rubeus ought to be getting tired of karma fortunes by now.rubeus ought to be getting tired of karma fortunes by now.rubeus ought to be getting tired of karma fortunes by now.
 
Posts: 272
Karma: 1224588
Join Date: Sep 2014
Device: Sony PRS 650
Hi,

i'm currently working on combining paragraphs. I've a bunch of regex' which are working fine.

But for this:
Code:
...he went on,</i></p>
<p><i> shaking his head...
i'm unable to find a solution. Italic is just an example, it can be a <b>, <span> <img> something completely different.

What i can do is of course something like this:

,</i></p>\s+<p><i>

to replace it with

,

and have one for italic, one for bold (or even combine them with | but is it possible to have that a little bit more in general?

Thx

rubeus
rubeus is offline   Reply With Quote