{"uid":"cap_5jADhd_TVNRRf9pN5kgnc","slug":"the-stall-regex-tester-98f6e4b0","name":"The Stall Regex Tester","description":"Safe regex testing and extraction. Validates a pattern, finds all matches (with capture groups), replaces text, and explains what the pattern matches. Zero external API calls — instant, deterministic. Useful for agents generating or debugging regex patterns mid-task, validating extracted data, or transforming text with precision.","url":"https://the-stall.intuitek.ai/cap/regex-tester","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"required":{"type":"string"},"properties":{"type":"string"}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"flags":"gi","input":"Contact us at support@example.com or sales@company.com for more information.","pattern":"([a-z]+)@([a-z]+)\\.com"}}},"response":{"flags":"gi","matches":[{"index":14,"match":"support@example.com","groups":["support","example"],"length":19,"named_groups":null},{"index":37,"match":"sales@company.com","groups":["sales","company"],"length":17,"named_groups":null}],"pattern":"([a-z]+)@([a-z]+)\\.com","match_count":2,"generated_at":"2026-06-12T05:11:32.425Z","pattern_valid":true,"has_more_matches":false}},"exampleRequest":{"flags":"gi","input":"Contact us at support@example.com or sales@company.com for more information.","pattern":"([a-z]+)@([a-z]+)\\.com"},"tags":["x402"],"displayCostAmount":"0.034","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.034/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.034","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.034","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_d2nReilod1pRdObnQ7xgh","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.034","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 and returns all matches, capture groups, positions, and optionally a replaced output string.","exampleAgentPrompt":"Use the regex pattern `([a-z0-9._%+-]+)@([a-z0-9.-]+\\.[a-z]{2,})` with flags `gi` to find all email addresses in this text: 'Please reach out to alice@example.com or bob@company.org for help.'","exampleUseCases":null,"resultDescription":"Returns an array of match objects each containing the matched string, its character index, its length, and an array of capture group values. Also returns the total match count, whether the pattern was valid, the flags used, and a boolean indicating if more matches exist beyond the returned set. If a replace_with string was provided, returns the substituted output.","failureModes":["Invalid regex pattern returns pattern_valid: false with an empty matches array","Input text exceeding 50,000 characters is rejected","Malformed query parameters result in a 400-level error","Missing required 'pattern' or 'input' query params cause a validation error","Payment not provided or insufficient USDC causes a 402 response"],"whenToPreferThis":"Use this endpoint when an AI agent needs to programmatically test, validate, or apply a regular expression against arbitrary text — especially when extracting structured data (emails, phone numbers, dates) or performing regex-based replacement. Prefer this over general LLM extraction when exact pattern fidelity and character-level match positions are required. Ideal for data pipelines, validation logic, and text parsing tasks where a human-readable regex is already known.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:59:11.010Z","isFirstParty":false}