whole_func_string: function removeImagesFromText( text ) {
  	const images = imageInText( text );
  	const imageTags = matchStringWithRegex( text, "</img>" );
  
  	if ( images.length > 0 ) {
  		images.forEach( function( image ) {
  			text = text.replace( image, "" );
  		} );
  
  		imageTags.forEach( function( imageTag ) {
  			text = text.replace( imageTag, "" );
  		} );
  	}
  
  	return text;
  }
func_code_string: function removeImagesFromText( text ) {
  	const images = imageInText( text );
  	const imageTags = matchStringWithRegex( text, "</img>" );
  
  	if ( images.length > 0 ) {
  		images.forEach( function( image ) {
  			text = text.replace( image, "" );
  		} );
  
  		imageTags.forEach( function( imageTag ) {
  			text = text.replace( imageTag, "" );
  		} );
  	}
  
  	return text;
  }
func_documentation_string: Removes images from text.
  
  @param {string} text The text string to analyze.
  
  @returns {string} The text with images stripped away.