MCP tool reference · #643 of 678 by publishers
regex_test
Exposed by 9 servers from 8 publishers, read from the live servers by the Serverdex check; most of them sit in Developer Tools; 88.9% of them take a flags parameter; the most-starred is ToolAPI (2 stars).
regex_test(flags?: string, pattern: string, text: string, …)Parameters
share = % of the 9 servers whose schema has it · required = % of those that mark it required| Parameter | Type | Share | Required | Usual description |
|---|---|---|---|---|
| flags | string | 88.9% | 0% | Optional flags, e.g. "gi". Default "g". |
| pattern | string | 88.9% | 87.5% | The regular expression, without surrounding slashes. |
| text | string | 77.8% | 85.7% | The text to test against. |
| count | integer | 11.1% | 0% | — |
| input | string | 11.1% | 100% | Text to test against. |
| mode | string | 11.1% | 0% | — |
| op | — | 11.1% | 0% | — |
| payload | object | 11.1% | 100% | — |
| replacement | — | 11.1% | 0% | — |
| template | string | 11.1% | 0% | — |
Source: the input schema each server returns for regex_test, aggregated over the 9 index-tier servers; type and description are the values most servers use. Rebuilt every 6 hours.
Servers with regex_test
9 of 9 · 8 publishers · 9 answering live · most-starred first, 3 per publisher| # | Server | Publisher | Category | ★ | Live | How it describes regex_test |
|---|---|---|---|---|---|---|
| 1 | ToolAPIbaohuiwb · APIs & Integrations | baohuiwb | APIs & Integrations | 2 | yes | Test regex pattern; returns match, groups, span. |
| 2 | Agent Data Tools: Utilitiesnutshell2000 · Data & Analytics | nutshell2000 | Data & Analytics | 1 | yes | Run a JavaScript regular expression against a text and return every match with its index and capture groups (named groups included). Pattern up to 300 characters, text up to 5,000; patterns with nested quantifiers such as (a+)+ are refused as unsafe, uncharged. Use to check a pattern before using it in code. Example: pattern=(\d{4})-(\d{2}), text=2026-10 and 2027-01. Price $0.002/call via x402 USD |
| 3 | Netcafe Devkitmario03690 · Developer Tools | mario03690 | Developer Tools | 1 | yes | Runs a regular expression against sample text and returns every match with its position and capture groups (named groups included). Use before wiring a pattern into code, instead of guessing whether the escaping survived the trip through JSON and the shell. |
| 4 | AI Netcafemario03690 · Other | mario03690 | Other | 1 | yes | Runs a regular expression against sample text and returns every match with its position and capture groups (named groups included). Use before wiring a pattern into code, instead of guessing whether the escaping survived the trip through JSON and the shell. |
| 5 | Cleanorcleanor-app · Media & Creative | cleanor-app | Media & Creative | 1 | yes | Test a JavaScript regular expression against sample text and return whether it matches, plus every match with its captured groups and index. Use to verify a pattern instead of reasoning about it in your head. Input and pattern are length-capped to keep it fast and safe. |
| 6 | mechacutmechacut · Developer Tools | mechacut | Developer Tools | — | yes | Run a regex against text without executing anything in your own process: test/findall (text+span)/groups (named+numbered)/replace (template with backrefs). Flags closed to imsxua; 64 KB input cap. Free. |
| 7 | Finekot APIdenyskot1986 · Media & Creative | denyskot1986 | Media & Creative | — | yes | Tests a Python regex against text: op=match (first match), op=findall (all matches with groups and positions), op=sub (replace). Runs in a separate process with a 100 ms timeout, so catastrophic backtracking (ReDoS) returns 422 instead of hanging. Text up to 10 000 chars, pattern up to 1 000. Cost €0.0005 per call, charged to the API key in Authorization: Bearer. Parameters — pattern: regex patter |
| 8 | AgentIndex x402comallagency · Documents & Knowledge | comallagency | Documents & Knowledge | — | yes | Test a regular expression against text; returns match status, capture groups and span. |
| 9 | sigtap Agent Toolsunnamedaiagent · Other | unnamedaiagent | Other | — | yes | Regex matches with groups, count and a backtracking-risk heuristic Free check: https://sigtap-outreach-api.sigtap.workers.dev/preview/tools/regex = 200 demo sample, no wallet. Paid call: 402 challenge -> sign -> retry = settled on-chain. ($0.001 USDC on Base, x402) |
Stars from GitHub as stored in the Serverdex index (re-read every 7 days per server); live = answered the last daily check of its hosted endpoint.