Skip to main content
Glama

regex_regex_extract_groups

Extract named or numbered groups from regex matches in text, returning structured data for each match with groups and named groups.

Instructions

[regex] Extract captured groups from all matches. Returns list of {match, groups, named_groups} for each match. Use when the pattern defines named or numbered groups.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
patternYes
textYes
flagsNo
Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/0-co/agent-friend'

If you have feedback or need assistance with the MCP directory API, please join our Discord server