---
title: "Find Regex Matches"
description: "Local-first visual environment for building and running AI workflows. Build agents visually, deploy anywhere, privacy by design."
canonical: https://docs.nodetool.ai/nodes/nodetool/text/findregexmatches
markdown: https://docs.nodetool.ai/nodes/nodetool/text/findregexmatches.md
product: NodeTool
source: https://github.com/nodetool-ai/nodetool/blob/main/docs/nodes/nodetool/text/findregexmatches.md
---

# Find Regex Matches

**Type:** `nodetool.text.RegexMatch`

**Namespace:** `nodetool.text`

## Description

Find all matches of a regex pattern in text.
    regex, search, pattern, match

    Use cases:
    - Extract specific patterns from text
    - Validate text against patterns
    - Find all occurrences of a pattern

## Properties

| Property | Type | Description | Default |
|----------|------|-------------|---------|
| text | `str` | Text to search in | `` |
| pattern | `str` | Regular expression pattern | `` |
| group | `int` | Capture group to extract (0 for full match) | `0` |

## Outputs

| Output | Type | Description |
|--------|------|-------------|
| output | `list[str]` |  |

## Related Nodes

Browse other nodes in the [nodetool.text](./) namespace.
