Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.comfy.org/llms.txt

Use this file to discover all available pages before exploring further.

This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub
The RegexMatch node checks if a text string contains a match for a given regular expression pattern. It searches the input string and returns a simple yes/no result indicating whether the pattern was found anywhere in the text. You can adjust how the search works by enabling options like case-insensitive matching or multiline mode.

Inputs

ParameterData TypeRequiredRangeDescription
stringSTRINGYes-The text string to search for matches
regex_patternSTRINGYes-The regular expression pattern to match against the string
case_insensitiveBOOLEANNo-Whether to ignore case when matching (default: True)
multilineBOOLEANNo-Whether to enable multiline mode for regex matching (default: False)
dotallBOOLEANNo-Whether to enable dotall mode for regex matching (default: False)

Outputs

Output NameData TypeDescription
matchesBOOLEANReturns True if the regex pattern matches any part of the input string, False otherwise

Source fingerprint (SHA-256): 4f0fa717bde7406e42d9a99599eab546690140166d2bb01bb4fde3c5d60e0397