{
  "id": "lordevo-quick-regex-test",
  "name": "Regex tester: matches, groups, replace and split (JavaScript flavor)",
  "description": "Runs a JavaScript (ECMAScript) regular expression on your text and returns every match with index, line, column, numbered and named groups, or the result of replace or split. Catastrophic patterns are stopped after 3 seconds and not charged. Input: pattern (or /pattern/flags), text, optional flags, mode, replace, max_matches (POST for long text). Limits: 2,000-character pattern, 400,000-character text. Offline.",
  "provider": "Lordevo",
  "label": "Lordevo service",
  "operator_service": true,
  "category": "web-scraping",
  "kind": "http",
  "url": "https://shop.lordevo.com/api/quick/regex-test",
  "method": "GET",
  "payment": "x402",
  "price_usd": 0.0021,
  "network": "base",
  "auth": "none (pay per call with x402: HTTP 402, USDC on Base mainnet)",
  "docs": "https://shop.lordevo.com/quick",
  "status": "up",
  "uptime_status": "up",
  "latency_ms": 110,
  "last_checked": "2026-12-02T05:48:07.108Z",
  "verified_quote": true,
  "price_match": true,
  "quote_price_usd": 0.0021,
  "source": {
    "id": "lordevo",
    "name": "Lordevo shop catalog",
    "url": "https://shop.lordevo.com/catalog.json",
    "attribution": "Lordevo (directory operator). Labelled \"Lordevo service\"."
  },
  "details": "https://lordevo.com/api/v1/services/lordevo-quick-regex-test",
  "provider_url": "https://lordevo.com",
  "price_note": "$0.0021 per call (Lordevo quick check). Refused or failed calls are not charged.",
  "network_id": "eip155:8453",
  "asset": "USDC",
  "quote": {
    "x402_version": 2,
    "scheme": "exact",
    "price_usd": 0.0021,
    "amount_atomic": "2100",
    "asset": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
    "network_id": "eip155:8453",
    "pay_to": "0x0876A79Bb5A88Bf338E6b47b4530359527b01d73"
  },
  "how_to": [
    "GET https://shop.lordevo.com/api/quick/regex-test?pattern=<pattern>",
    "The first answer is HTTP 402 (x402 v2 PAYMENT-REQUIRED header plus a v1 JSON body; USDC on Base mainnet). Pay and retry the same request.",
    "Also an MCP tool: regex_test at https://shop.lordevo.com/mcp"
  ],
  "tags": [
    "regex",
    "regular expression",
    "regex tester",
    "pattern matching",
    "extract",
    "replace"
  ],
  "http_status": 402,
  "x402_402_seen": true,
  "first_seen": "2026-10-29T20:30:02.529Z",
  "verified_seller": {
    "domain": "shop.lordevo.com",
    "method": "wellknown",
    "verified_at": "2026-11-13T18:05:57.142Z",
    "last_check_at": "2026-11-28T21:35:17.447Z"
  },
  "install": [
    {
      "client": "lordevo-x402-js",
      "format": "js",
      "snippet": "// npm i lordevo-x402@0.1.5 @x402/fetch @x402/evm viem\nimport { fromPrivateKey } from 'lordevo-x402';\n\nconst lordevo = await fromPrivateKey(process.env.AGENT_WALLET_KEY, { maxPriceUsd: 0.0021 });\nconst result = await lordevo.call(\"regex-test\", { pattern: \"<YOUR_INPUT>\" });\nconsole.log(result);",
      "notes": "Pays $0.0021 per call in USDC on Base from the wallet in AGENT_WALLET_KEY. Instant tools that fail or are refused (any answer of 400 or higher) are not charged. Long jobs (202) are charged when accepted and are not refunded automatically if they fail later.",
      "doc_url": "https://www.npmjs.com/package/lordevo-x402"
    },
    {
      "client": "lordevo-x402-py",
      "format": "python",
      "snippet": "# pip install \"lordevo-x402[pay]==0.1.5\"\nimport os\nfrom lordevo_x402 import LordevoSync\n\nlo = LordevoSync.from_private_key(os.environ[\"AGENT_WALLET_KEY\"], max_price_usd=0.0021)\nprint(lo.call(\"regex-test\", \"<YOUR_INPUT>\"))",
      "notes": "Pays $0.0021 per call in USDC on Base. Instant tools that fail or are refused (any answer of 400 or higher) are not charged. Long jobs (202) are charged when accepted and are not refunded automatically if they fail later.",
      "doc_url": "https://pypi.org/project/lordevo-x402/"
    },
    {
      "client": "curl",
      "format": "shell",
      "snippet": "curl -i 'https://shop.lordevo.com/api/quick/regex-test'",
      "notes": "Unpaid request: the answer should be HTTP 402 with the price and payment terms. Nothing is paid.",
      "doc_url": "https://x402.org"
    }
  ],
  "page": "https://lordevo.com/agents/service/lordevo-quick-regex-test"
}