You may try the following code.
$content = get_the_excerpt();
$content = preg_replace("/<img(.*?)>/si", "", $content);
echo $content;
preg_replace
will remove the image tag content from the post content.
You may try the following code.
$content = get_the_excerpt();
$content = preg_replace("/<img(.*?)>/si", "", $content);
echo $content;
preg_replace
will remove the image tag content from the post content.