{"uid":"cap_6hn8sjanv5EXip_zZ2h3u","slug":"x402-toolbox-regex-test-38b2813f","name":"x402-toolbox Regex Test","description":"309 deterministic pay-per-call tools for AI agents over x402 (USDC, Base). No signup, no API key: the payment is the identity.","url":"https://x402-toolbox.shablony-pro.workers.dev/util/regex-test?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"schema":{"type":"string"}}},"responseSchema":{"type":"json","example":{"ok":true,"paid":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_7qd6actcjiuuD_tYXu0e3","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Tests whether a given string matches a specified regular expression pattern, returning a boolean result","exampleAgentPrompt":"Can you test if the string 'hello@example.com' matches the regex pattern '^[\\w.]+@[\\w]+\\.[a-z]{2,}$' and tell me whether it's a valid match?","exampleUseCases":[{"title":"Email format validation","prompt":"I need to know if 'user.name+tag@sub.domain.org' matches the regex '^[\\w.+]+@[\\w.-]+\\.[a-z]{2,}$' — does it pass?"},{"title":"URL routing pattern check","prompt":"Test whether the path '/api/v2/users/42' matches the regex '^/api/v[0-9]+/users/[0-9]+$' and tell me if it's a match."},{"title":"Phone number format testing","prompt":"Does the string '+1-800-555-0199' match the regex '^\\+?[0-9][0-9\\-]{7,}[0-9]$'? I want to validate my phone number pattern."}],"resultDescription":"Returns a JSON object with 'ok' (boolean indicating success of the call) and 'paid' (boolean confirming payment was processed), plus the match result indicating whether the provided input string satisfies the given regular expression pattern.","failureModes":["Missing or malformed regex pattern returns an error","Invalid regex syntax may cause a 400 or error response","Payment failure (insufficient USDC balance) prevents the call from completing","Missing input string to test against the pattern","Network timeout on the Cloudflare worker"],"whenToPreferThis":"Choose this endpoint when you need a quick, deterministic regex match check with no signup or API key setup — ideal for AI agents that need to validate strings on-the-fly using x402 micropayments. Particularly useful in automated pipelines where regex validation is a lightweight step and you want to pay per use rather than maintain credentials.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T00:45:06.937Z","isFirstParty":false,"canonicalSlug":"x402-toolbox-regex-test-38b2813f"}