{"uid":"cap_7n2LdAbnmq8PrpZYuV3ug","slug":"agent402-tools-regex-tester-cc4a0db9","name":"agent402.tools Regex Tester","description":"Bundled execution of the Regex tester workflow — Test a regular expression against text and get match results plus text statistics — the quick validation loop for pattern development. One x402 payment runs 3 underlying tools (regex, text-stats, ex...","url":"https://agent402.tools/api/skill/regex-test","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","description":"Text to match against"},"pattern":{"type":"string","description":"Regex pattern to test (e.g. \\b\\w+@\\w+\\.\\w+\\b)"}}},"responseSchema":{"type":"json","example":{"args":{"text":"Contact us at hello@example.com or support@test.org","pattern":"\\b\\w+@\\w+\\.\\w+\\b"},"pack":"regex-test","steps":[{"ok":true,"slug":"regex","result":{}},{"ok":true,"slug":"text-stats","result":{}},{"ok":true,"slug":"extract-entities","result":{}}],"summary":"3/3 steps succeeded"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_dmr-A5Sfpm4AR4ZmuSW_U","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Tests a regular expression pattern against input text, returning match results plus text statistics in a single bundled workflow call.","exampleAgentPrompt":"Test this regex pattern \\b\\w+@\\w+\\.\\w+\\b against the text 'Contact us at hello@example.com or support@test.org for help' and show me all matches and text stats.","exampleUseCases":null,"resultDescription":"Returns match results showing which parts of the input text matched the regex pattern, along with text statistics (character count, word count, etc.) and any example matches — bundled from 3 underlying tools (regex, text-stats, examples) in one call.","failureModes":["Invalid regex syntax returns an error describing the parse failure","Empty pattern or text fields may return an error or trivial results","Extremely long text may be truncated or rejected","Catastrophic backtracking patterns could time out","Non-string inputs will cause schema validation errors"],"whenToPreferThis":"Choose this endpoint when you need to rapidly validate or debug a regex pattern against real text during pattern development, especially when you want match results and text statistics together in one payment. Ideal for iterative regex authoring loops where each test needs quick turnaround.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T01:11:44.688Z","isFirstParty":false}