← Market

Regex · Test

Test a regular expression against text; returns match status, capture groups and span.

POST https://x402.agentindex.world/regex/test

0.001 USDC on Base · payTo 0xb3F32bdfe8D07825BC0D7387295aB1D7559BA69d

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

Base · 0.001 USDC · payTo 0xb3F32bdfe8D07825BC0D7387295aB1D7559BA69d · via cdp · settles direct
{
  "pattern": "(\\d{4})-(\\d{2})-(\\d{2})",
  "text": "Date: 2026-03-15"
}
{
  "groups": [
    "2026",
    "03",
    "15"
  ],
  "matches": true,
  "span": [
    6,
    16
  ]
}

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 badge

Trust score72 / 100 · breakdown
Probe uptime (30d)100.0% over 1 probes · daily
Avg 402 latency537 ms
Paid calls (30d, on-chain)26 calls · 6 buyers · shared price cohort of 61
Facilitator-reported (30d)2 calls · 2 payers (CDP Bazaar)

How to call

POST https://x402.agentindex.world/regex/test · input in body · spec from live-challenge

Input schema
{
  "properties": {
    "pattern": {
      "title": "Pattern",
      "type": "string"
    },
    "text": {
      "title": "Text",
      "type": "string"
    },
    "ignore_case": {
      "default": false,
      "title": "Ignore Case",
      "type": "boolean"
    }
  },
  "required": [
    "pattern",
    "text"
  ],
  "title": "RegexTestInput",
  "type": "object"
}
Output schema
{
  "type": "object",
  "properties": {
    "matches": {
      "title": "Matches",
      "type": "boolean"
    },
    "groups": {
      "items": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ]
      },
      "title": "Groups",
      "type": "array"
    },
    "span": {
      "anyOf": [
        {
          "items": {
            "type": "integer"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Span"
    }
  },
  "required": [
    "matches",
    "groups",
    "span"
  ],
  "title": "RegexTestOutput"
}
curl -i -X POST 'https://x402.agentindex.world/regex/test' \
  -H 'content-type: application/json' -d '{"pattern":"(\\d{4})-(\\d{2})-(\\d{2})","text":"Date: 2026-03-15"}'

Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs

Try it (your wallet signs; HIVE402 never holds funds)