> ## 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.

# RegexMatch - ComfyUI Built-in Node Documentation

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

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

| Parameter          | Description                                                          | Data Type | Required | Range |
| ------------------ | -------------------------------------------------------------------- | --------- | -------- | ----- |
| `string`           | The text string to search for matches                                | STRING    | Yes      | -     |
| `regex_pattern`    | The regular expression pattern to match against the string           | STRING    | Yes      | -     |
| `case_insensitive` | Whether to ignore case when matching (default: True)                 | BOOLEAN   | No       | -     |
| `multiline`        | Whether to enable multiline mode for regex matching (default: False) | BOOLEAN   | No       | -     |
| `dotall`           | Whether to enable dotall mode for regex matching (default: False)    | BOOLEAN   | No       | -     |

## Outputs

| Output Name | Description                                                                             | Data Type |
| ----------- | --------------------------------------------------------------------------------------- | --------- |
| `matches`   | Returns True if the regex pattern matches any part of the input string, False otherwise | BOOLEAN   |

> 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/RegexMatch/en.md)

***

**Source fingerprint (SHA-256):** `4f0fa717bde7406e42d9a99599eab546690140166d2bb01bb4fde3c5d60e0397`
