Quote:
Originally Posted by design
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
|
Actually it will match. try the following example:
PHP Code:
<?php
$txt=<<<FILECONTENTS
<p>
-- This message may have been cut off and the rest will only be shown to members. To become a member, click here --