Get post first paragraph without html tag [duplicate]

You can create function using wp_trim_excerpt to grab the first paragraph of text and ignore images

function custom_excerpt($text, $raw_excerpt) {
  if( ! $raw_excerpt ) {
  $content = apply_filters( 'the_content', get_the_content() );
  $text = substr( $content, 0, strpos( $content, '</p>' ) + 4 );
  }
  // strip any images on the code 
  $text = preg_replace("/<img[^>]+\>/i", "", $text); 
  return $text;
add_filter( 'wp_trim_excerpt', 'custom_excerpt', 10, 2 );