03-23-2008, 03:15 PM
|
#6 (permalink)
|
|
The Contributor
Join Date: Dec 2007
Location: Belgium
Posts: 60
Thanks: 6
|
Worked out WildHoney's regex a bit further. Now also allows newlines inside p elements, as well as html attributes.
Code:
#<p\b[^>]*+>(.+?)</p>#is
|
|
|
|