Regex Test
Test a JavaScript regular expression against a text: whether it matches, every match with its position and capture groups, and an optional replacement result. Send the pattern without slashes and flags separately (e.g. gi).
GET https://lookups.mtfit-mcp.workers.dev/api/regex_test
0.002 USDC on Base · payTo 0x2eDB61aE5aAAfDC59b715C2cBB5672cA0C402B80
Status: verified · payable
Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.
Settlement: direct to the seller's payTo — 0% HIVE402 take
Payment routes
{
"flags": "g",
"pattern": "(\\d{3})-(\\d{4})",
"text": "Call 555-1234 or 555-9876"
}{
"count": 2,
"matched": true,
"matches": [
{
"groups": [
"555",
"1234"
],
"index": 5,
"match": "555-1234",
"named": null
},
{
"groups": [
"555",
"9876"
],
"index": 17,
"match": "555-9876",
"named": null
}
],
"tool": "regex_test",
"valid": true,
"version": "1.1.0"
}Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Contact
SML network: ScriptMasterLabs — the main site · SML Dual Market — the human storefront · VA Ratings — VA disability ratings, free for veterans
Agent intel 
| Trust score | pending / 100 · breakdown |
|---|---|
| Probe uptime (30d) | — over 0 probes · daily |
| Avg 402 latency | — ms |
| Paid calls (30d, on-chain) | 0 calls · 0 buyers |
How to call
GET https://lookups.mtfit-mcp.workers.dev/api/regex_test · input in query · spec from live-challenge
Input schema
{
"type": "object",
"properties": {
"pattern": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"flags": {
"default": "g",
"type": "string",
"maxLength": 8,
"pattern": "^[dgimsuyv]*$"
},
"text": {
"type": "string",
"maxLength": 4000
},
"replace": {
"type": "string",
"maxLength": 500
}
},
"required": [
"pattern",
"text"
]
}Output schema
{
"type": "object"
}curl -i -X GET 'https://lookups.mtfit-mcp.workers.dev/api/regex_test?pattern=%28%5Cd%7B3%7D%29-%28%5Cd%7B4%7D%29&flags=g&text=Call+555-1234+or+555-9876'
Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs