regex_extract
Extract specific text portions by applying a regex pattern with capture groups. Define pattern and optional flags to retrieve matches from any input text.
Instructions
Extract matches using a regex pattern
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text to extract from | |
| pattern | Yes | The regex pattern with capture groups | |
| flags | No | Regex flags (e.g., 'g', 'i', 'gi') | g |