// Extra HTML opschoning $post_content = preg_replace('/]+><\/p>/i', '', $post_content); // direct gevolgd door
$post_content = preg_replace('/<\/a>/i', '', $post_content); //
$post_content = preg_replace('/<\/a><\/a>/i', '', $post_content); // dubbele afsluiting
$post_content = preg_replace('/(]+>)+([^<]+)(<\/a>)+/i', '$2', $post_content); // nested anchors naar 1
$post_content = preg_replace('/(]+>\s*){2,}/i', '$1', $post_content); // dubbele
?>