Quote:
Originally Posted by cybmole
if I read that correctly it's blocking any extra instances of < - will it cope with embedded style things like <em or < i inside of the main p tagged paragraphs ?
e.g. some of the paragraphs have extra embedded styles like:
|
You're right, any <span>, <i> etc. will be not so good. ...
Actually
Code:
(<p.*?</p>)(\s*?<div>)
should do it, but test it carefully.
I'm not shure, if regex.
dotall will work at 0.42, try to add a (?s) to the search-statement.
>>or could I use a .p+div class in CSS ?
if you realy want to change
any <div> which follows a </p>, why not ?