So, I tried to strip all the html tags in a string but I can't get it to work.
This is my code snippet
$content = get_the_content();
$content = preg_replace("/<embed[^>]+\>/i", "(embed) ", $content);
$content = apply_filters('the_content', $content);
$content = str_replace(']]>', ']]>', $content);
echo wp_strip_all_tags($content);