ComfyUI > Nodes > Basic data handling > find all (data list)

ComfyUI Node: find all (data list)

Class Name

Basic data handling: RegexFindallDataList

Category
Basic/STRING/regex
Author
StableLlama (Account age: 861days)
Extension
Basic data handling
Latest Updated
2026-05-07
Github Stars
0.04K

How to Install Basic data handling

Install this extension via the ComfyUI Manager by searching for Basic data handling
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter Basic data handling 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

find all (data list) Description

Extracts non-overlapping pattern matches from text into a list using regular expressions.

find all (data list):

The RegexFindallDataList node is designed to extract all non-overlapping matches of a specified pattern from a given string, returning these matches as a list of strings. This node is particularly useful for tasks that require pattern recognition and extraction from text, such as identifying numbers, words, or specific sequences within a larger body of text. By leveraging regular expressions, this node provides a powerful and flexible way to search through strings, making it an essential tool for data parsing and text analysis. Its primary function is to simplify the process of finding multiple occurrences of a pattern, allowing you to efficiently gather and utilize data from complex text inputs.

find all (data list) Input Parameters:

string

The string parameter is the text input in which the node will search for matches of the specified pattern. It serves as the source material for the regex operation. The content of this parameter directly impacts the results, as it determines the scope and context of the search. There are no specific minimum or maximum values for this parameter, as it can be any string of text. However, the complexity and length of the string can affect the performance and speed of the operation.

pattern

The pattern parameter is a regular expression that defines the criteria for matching within the provided string. This parameter is crucial as it dictates what the node will search for and extract from the text. The pattern must be a valid regex expression, and its complexity can vary depending on the specificity of the search. There are no inherent minimum or maximum values, but the pattern should be crafted carefully to ensure accurate and efficient matching.

find all (data list) Output Parameters:

STRING

The output parameter, STRING, is a list of strings that contains all the non-overlapping matches found in the input string based on the specified pattern. This output is significant as it provides a structured collection of all identified matches, allowing for further processing or analysis. The list can be empty if no matches are found, or it can contain multiple entries if the pattern occurs several times within the input string.

find all (data list) Usage Tips:

  • Use simple and clear regex patterns to ensure efficient and accurate matching, especially when working with large text inputs.
  • Test your regex patterns separately to confirm they match the intended sequences before using them in the node to avoid unexpected results.
  • Consider the use of regex flags (e.g., case-insensitive matching) to enhance the flexibility of your pattern matching.

find all (data list) Common Errors and Solutions:

Invalid regular expression

  • Explanation: This error occurs when the pattern provided is not a valid regular expression.
  • Solution: Double-check the syntax of your regex pattern to ensure it adheres to the correct format and rules.

No matches found

  • Explanation: The pattern did not match any part of the input string.
  • Solution: Verify that the pattern is correctly defined and that it aligns with the content of the input string. Adjust the pattern if necessary to capture the desired matches.

Performance issues with large inputs

  • Explanation: Processing very large strings with complex patterns can lead to slow performance.
  • Solution: Simplify the regex pattern if possible, or break down the input string into smaller segments to process them individually.

find all (data list) Related Nodes

Go back to the extension to check out more related nodes.
Basic data handling
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.

find all (data list)