Visit ComfyUI Online for ready-to-use ComfyUI environment
Facilitates text manipulation by replacing substrings, streamlining editing process for AI artists.
The Clear Text
node is designed to facilitate text manipulation by allowing you to replace specific substrings within a given text. This node is particularly useful for AI artists who need to preprocess or clean up text data before feeding it into other nodes or models. By providing a straightforward way to find and replace text, this node helps streamline the text editing process, ensuring that your input data is in the desired format. Whether you are preparing prompts, cleaning up user inputs, or modifying text data for various applications, the Clear Text
node offers a simple yet powerful solution to handle these tasks efficiently.
This parameter takes the input text that you want to manipulate. It is a required field and must be provided for the node to function. The text can be multiline, allowing you to work with larger blocks of text. This input serves as the base content where the find-and-replace operations will be performed.
This parameter specifies the substring that you want to find within the input text. It is a required field and must be provided. The default value is "find". This parameter is case-sensitive, meaning that it will only match substrings that exactly match the specified value.
This parameter specifies the substring that will replace the found substring in the input text. It is a required field and must be provided. The default value is "replace". This parameter allows you to define what the found substrings should be changed to, enabling you to customize the output text as needed.
The output parameter is the modified text after the find-and-replace operation has been performed. This output will reflect all the changes specified by the find
and replace
parameters, providing you with the cleaned or modified text ready for further processing or use in other nodes.
find
parameter is correctly specified to match the exact substring you want to replace, as it is case-sensitive.replace
parameter to customize the output text according to your needs, whether it's for cleaning up prompts or modifying user inputs.text
parameter is not provided.text
parameter field.find
parameter is not provided.find
parameter field.replace
parameter is not provided.replace
parameter field.© Copyright 2024 RunComfy. All Rights Reserved.