{"uid":"cap_P5uOgTfRXVyca0U1l5mu5","slug":"bolt-regex-matcher-2373dc43","name":"Bolt Regex Matcher","description":"Utility toolkit for AI agents. 54 endpoints — tools, data, and AI processing. Pay per request in USDC via x402.","url":"https://datsavault.vercel.app/api/regex?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["text","pattern"],"properties":{"text":{"type":"string"},"flags":{"type":"string"},"pattern":{"type":"string"}}},"responseSchema":{"type":"object","properties":{"data":{"type":"object"},"success":{"type":"boolean"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_hZhMZwmgcEX8Ulw3JC5ZM","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Applies a regular expression pattern to a text string and returns match results","exampleAgentPrompt":"Run a regex pattern on this text — pattern is `(\\d{3})-\\d{4}` with the global flag — and pull out every match from: 'Call us at 555-1234 or 800-5678 for support.'","exampleUseCases":[{"title":"Extract emails from raw text","prompt":"Use regex to find all email addresses in this blob of text: 'Contact john@example.com or support@acme.org for help.' Pattern should be `[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}` with global flag."},{"title":"Validate phone number format","prompt":"Check whether the string '(415) 555-0192' matches the phone number pattern `^\\(\\d{3}\\) \\d{3}-\\d{4}$` — I need to know if it's a valid format."},{"title":"Parse dates from log entries","prompt":"Apply the pattern `\\d{4}-\\d{2}-\\d{2}` with the global flag to this server log text: '2024-03-15 ERROR ... 2024-03-16 INFO ...' and give me all the dates it finds."}],"resultDescription":"Returns a JSON object with a `success` boolean and a `data` object containing the regex match results, such as matched substrings, capture groups, and match indices depending on the pattern and flags used.","failureModes":["Invalid regex pattern syntax causes a failure response","Missing required fields (text or pattern) returns an error","Flags string with unsupported characters may cause a parse error","No matches found may return empty match data with success true","Very large text inputs may hit size or timeout limits"],"whenToPreferThis":"Choose this endpoint when you need a quick, pay-per-use regex matching service without setting up server-side processing. Ideal for agents that need to extract structured data, validate formats, or search for patterns within strings on demand. Best when you already know your regex pattern and need fast, lightweight evaluation without a full NLP pipeline.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-02T00:32:32.039Z","isFirstParty":false,"canonicalSlug":"bolt-regex-matcher-2373dc43"}