> ## Documentation Index
> Fetch the complete documentation index at: https://dripart-mintlify-b90d3c69.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# ReplaceText - ComfyUI Built-in Node Documentation

> Complete documentation for the ReplaceText node in ComfyUI. Learn its inputs, outputs, parameters and usage.

The Replace Text node performs a simple text substitution. It searches for a specified piece of text within the input and replaces every occurrence with a new piece of text. The operation is applied to all text inputs provided to the node.

**Note:** This node is deprecated and superseded by the other Replace Text node.

## Inputs

| Parameter | Description                                   | Data Type | Required | Range |
| --------- | --------------------------------------------- | --------- | -------- | ----- |
| `text`    | The text to process.                          | STRING    | Yes      | -     |
| `find`    | Text to find (default: empty string).         | STRING    | Yes      | -     |
| `replace` | Text to replace with (default: empty string). | STRING    | Yes      | -     |

## Outputs

| Output Name | Description                                                                                | Data Type |
| ----------- | ------------------------------------------------------------------------------------------ | --------- |
| `text`      | The processed text with all occurrences of the `find` text replaced by the `replace` text. | STRING    |

> This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! [Edit on GitHub](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/ReplaceText/en.md)

***

**Source fingerprint (SHA-256):** `38beeabc232b19efedf2dcf4e2490f537d9a07d60c89de2811b7a4bddb98cf57`
