whole_func_string: function removeLinksFromText( text ) {
  	const anchors = getAnchorsFromText( text );
  	if ( anchors.length > 0 ) {
  		anchors.forEach( function( anchor ) {
  			text = text.replace( anchor, "" );
  		} );
  	}
  
  	return text;
  }
func_code_string: function removeLinksFromText( text ) {
  	const anchors = getAnchorsFromText( text );
  	if ( anchors.length > 0 ) {
  		anchors.forEach( function( anchor ) {
  			text = text.replace( anchor, "" );
  		} );
  	}
  
  	return text;
  }
func_documentation_string: Removes links from text.
  
  @param {string} text The text string to analyze.
  
  @returns {string} The text with links stripped away.