Regex Execution and Group Extractor

Regex Execution and Group Extractor MCP Connector for Claude

A+

Executes regular expressions against text to extract matches, groups, and indices.

4 tools Official Updated Oct 1, 2026 Official Vinkius Partner

This MCP server provides a powerful interface for precise text manipulation and pattern matching. By using tools like execute_regex and extract_substring_indices, AI agents can perform complex string operations such as identifying capture groups, finding exact character offsets, and detecting specific patterns within large datasets. It is particularly useful for parsing structured logs, extracting metadata from unstructured text, or validating route patterns with match_route. The server also includes specialized logic to detect 'islands' of content using the detect_islands tool, making it an essential bridge for any agent requiring deterministic regex-based data extraction.

regexpattern-matchingstring-manipulationparsingautomation

4 tools expose this connector's capabilities to your AI agent.

execute_regex

Executes a regular expression against a target text and returns detailed match information

detect_islands

Detects "islands" in a string—tags that contain server:defer or server:only directives

extract_substring_indices

Extracts all occurrences of a specific substring and returns their indices

match_route

Matches a path against a route pattern and extracts parameters

See how to talk to your AI agent using Regex Execution and Group Extractor.

Use `execute_regex` to find all email addresses in this text: 'Contact us at support@vinkius.com or admin@example.org'.

[{"match": "support@vinkius.com", "start": 24, "end": 43}, {"match": "admin@example.org", "start": 47, "end": 65}]

Extract the indices of the word 'hello' in 'hello world, hello again'.

[{"start": 0, "end": 5}, {"start": 13, "end": 18}]

Check if the path '/api/users/123' matches the pattern '/api/:id'.

{"params": {"id": "users/123"}}

You can run any valid regular expression against a target string to retrieve an array of matches, including capture groups and their exact start and end character positions.

Related Connectors