Forum Moderators: coopster
if (preg_match("/<blockquote>(.)*<\/blockquote>/i", $contents, $matches)) { $stuff = $matches[0]; } echo $stuff;
... which doesn't seem to work, at least not over multiple lines.
look at the m and s modifiers they may well help with the multi lines.
if (preg_match("/<blockquote>(.)*<\/blockquote>/msi", $contents, $matches)) { $stuff = $matches[0]; } echo $stuff;