{"uid":"cap_fpyXZ4TCNHjG7LngYL6Fe","slug":"omniapi-regex-generator-d5fa1f0c","name":"OmniAPI Regex Generator","description":"444 endpoints across 9+ chains. Crypto, AI, Social, Finance, Weather, Tools. Pay per call in USDC via x402 with 4 facilitators: Dexter, Meridian, FluxA, GoPlausible.","url":"https://omni-api-cyan.vercel.app/api/tools/regex/generate","method":"POST","headers":{},"bodySchema":{"type":"object","required":["query"],"properties":{"input":{"type":"string","description":"Input data for the endpoint"},"query":{"type":"string","description":"Search query or input text"},"params":{"type":"object","description":"Additional parameters"}}},"responseSchema":{"type":"object","description":"API response data"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.039054","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.039054/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.039054","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.039054","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_DcKLHI8P1bGnQsEBB7Jor","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.039054","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates a regular expression pattern based on a natural language description or example input query","exampleAgentPrompt":"Generate a regular expression that matches valid email addresses, including subdomains and plus-addressing like user+tag@sub.domain.com.","exampleUseCases":[{"title":"Email validation regex for signup form","prompt":"Give me a regex pattern that validates email addresses including subdomains and plus-sign aliases like user+label@mail.example.com — I need this for a signup form input validator."},{"title":"Password strength pattern generation","prompt":"Generate a regular expression that enforces password rules: at least 8 characters, one uppercase letter, one lowercase letter, one digit, and one special character like !@#$%."},{"title":"Log file timestamp extraction","prompt":"I need a regex to extract timestamps in the format YYYY-MM-DD HH:MM:SS from server log lines so I can parse them programmatically."}],"resultDescription":"Returns a generated regular expression pattern (regex string) corresponding to the described matching requirement, potentially accompanied by an explanation or example matches.","failureModes":["Vague or ambiguous query may produce a regex that over-matches or under-matches","Very complex pattern descriptions may yield incorrect or overly simplified regex","Query in unsupported language or format may return a generic or empty pattern","Payment failure via x402 results in 402 response blocking the call","Malformed request body missing required 'query' field returns a 400 error"],"whenToPreferThis":"Use this endpoint when an agent or developer needs to dynamically generate a regex pattern from a plain-language description without writing the regex manually. Prefer this over static regex libraries when the pattern requirements are user-defined or context-dependent. Best for rapid prototyping, form validation logic, and log parsing tasks where the pattern is not known ahead of time.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:57:43.038Z","isFirstParty":false}