the problem is matching the data between the p tags, the regexes above won't match it, unless its on the same line.
for instance:
Code:
<p>
test
</p>
would not pass the regex, because it contains \r\n's
-- This message may have been cut off and the rest will only be shown to members. To become a member, click here --