ComfyUI Node: Text [LP]

Class Name

Text|LP

Category
LevelPixel/IO
Author
LevelPixel (Account age: 647days)
Extension
ComfyUI Level Pixel
Latest Updated
2026-02-24
Github Stars
0.03K

How to Install ComfyUI Level Pixel

Install this extension via the ComfyUI Manager by searching for ComfyUI Level Pixel
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI Level Pixel in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Text [LP] Description

The Text|LP node enhances text processing with translation, parsing, and word replacement tools.

Text [LP]| Text [LP]:

The Text| Text [LP] node is designed to facilitate various text processing tasks, offering a suite of functionalities that enhance text manipulation and translation capabilities. This node is particularly beneficial for AI artists who need to handle text data efficiently, whether it's for translating text, parsing choices, or replacing specific words. By providing a range of text utilities, the Text| Text [LP] node allows you to streamline your workflow, ensuring that text data is processed accurately and effectively. Its main goal is to offer a comprehensive set of tools that cater to different text processing needs, making it an essential component for projects that involve text manipulation.

Text [LP]| Text [LP] Input Parameters:

find1

This parameter specifies the first string that you want to search for within the text. It plays a crucial role in identifying the text segment that needs to be replaced. The default value is an empty string, and there is no explicit minimum or maximum value, as it depends on the text content you are working with.

replace1

This parameter defines the string that will replace the first occurrence of the specified find1 string. It allows you to customize the text output by substituting specific words or phrases. The default value is an empty string, and similar to find1, there are no strict limits on its length.

find2

Similar to find1, this parameter is used to specify the second string to search for in the text. It helps in identifying additional text segments for replacement. The default value is an empty string, with no fixed minimum or maximum value.

replace2

This parameter is used to define the replacement string for the second occurrence of the specified find2 string. It enables further customization of the text output. The default value is an empty string, and there are no strict length constraints.

find3

This parameter specifies the third string to search for within the text, allowing for more complex text manipulation scenarios. The default value is an empty string, with no explicit length restrictions.

replace3

This parameter defines the replacement string for the third occurrence of the specified find3 string, providing additional flexibility in text customization. The default value is an empty string, with no fixed length limits.

find4

This parameter is used to specify the fourth string to search for in the text, enabling further text processing capabilities. The default value is an empty string, with no strict length constraints.

replace4

This parameter defines the replacement string for the fourth occurrence of the specified find4 string, allowing for more detailed text customization. The default value is an empty string, with no explicit length restrictions.

find5

This parameter specifies the fifth string to search for within the text, offering additional text manipulation options. The default value is an empty string, with no fixed length limits.

replace5

This parameter is used to define the replacement string for the fifth occurrence of the specified find5 string, providing further customization of the text output. The default value is an empty string, with no strict length constraints.

find6

This parameter specifies the sixth string to search for within the text, allowing for more complex text processing scenarios. The default value is an empty string, with no explicit length restrictions.

replace6

This parameter defines the replacement string for the sixth occurrence of the specified find6 string, enabling additional flexibility in text customization. The default value is an empty string, with no fixed length limits.

find7

This parameter is used to specify the seventh string to search for in the text, offering further text manipulation capabilities. The default value is an empty string, with no strict length constraints.

replace7

This parameter defines the replacement string for the seventh occurrence of the specified find7 string, allowing for more detailed text customization. The default value is an empty string, with no explicit length restrictions.

find8

This parameter specifies the eighth string to search for within the text, providing additional text processing options. The default value is an empty string, with no fixed length limits.

replace8

This parameter is used to define the replacement string for the eighth occurrence of the specified find8 string, enabling further customization of the text output. The default value is an empty string, with no strict length constraints.

find9

This parameter specifies the ninth string to search for within the text, allowing for more complex text manipulation scenarios. The default value is an empty string, with no explicit length restrictions.

replace9

This parameter defines the replacement string for the ninth occurrence of the specified find9 string, providing additional flexibility in text customization. The default value is an empty string, with no fixed length limits.

Text [LP]| Text [LP] Output Parameters:

text

The output parameter text represents the modified text after all specified replacements have been applied. This output is crucial as it reflects the final processed text, incorporating all the changes made through the input parameters. It allows you to see the results of your text manipulation efforts and ensures that the desired modifications have been successfully implemented.

Text [LP]| Text [LP] Usage Tips:

  • To effectively use the Text| Text [LP] node, start by clearly identifying the specific text segments you want to replace and ensure that the find parameters accurately reflect these segments.
  • Utilize the replace parameters to customize the text output according to your needs, and consider using multiple find and replace pairs for complex text manipulation tasks.
  • Test the node with sample text to verify that the replacements are applied correctly and adjust the parameters as needed to achieve the desired results.

Text [LP]| Text [LP] Common Errors and Solutions:

Replacement Not Applied

  • Explanation: This error occurs when the specified find string is not present in the text, resulting in no replacement being made.
  • Solution: Double-check the find parameter to ensure it matches the exact text segment you want to replace. Consider using different variations or checking for case sensitivity.

Unexpected Output

  • Explanation: The output text does not reflect the expected changes, possibly due to incorrect parameter settings.
  • Solution: Review all find and replace parameters to ensure they are correctly configured. Test with smaller text samples to isolate the issue and make necessary adjustments.

Text [LP] Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI Level Pixel
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

Text [LP]