If the selected text matches the search string, this method replaces the text with the contents of the replace text. If the replace was successful, #t is returned. Otherwise, #f is returned.