{"uid":"cap_dgPzc3JK2iFLXSC_2qIz7","slug":"nexusapi-regex-test-8add5112","name":"NexusAPI Regex Test","description":"Crypto, AI, Social Media, Finance, Weather, Tools &amp; more. Pay per call in USDC on Base. No API keys.","url":"https://nexus-api-virid.vercel.app/api/tools/regex/test","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"query":{"type":"string","description":"Search query or input parameter"}}},"responseSchema":{"type":"object","description":"API response data"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.133649","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.133649/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.133649","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.133649","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_6HE22su9aa4hiqeAkYcB6","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.133649","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Tests a string against a regular expression pattern to determine if it matches","exampleAgentPrompt":"Can you test whether the string 'user@example.com' matches the regex pattern '^[\\w.-]+@[\\w.-]+\\.\\w{2,}$'?","exampleUseCases":[{"title":"Validate email format with regex","prompt":"Check if 'john.doe123@company.co.uk' matches the regex '^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}$' and tell me if it's a valid email format."},{"title":"Test phone number pattern","prompt":"Does the string '(555) 867-5309' match the regex '^\\(\\d{3}\\)\\s\\d{3}-\\d{4}$'? I need to know if my phone validation pattern works."},{"title":"Validate URL slug pattern","prompt":"Run a regex test on the string 'my-blog-post-title-123' against the pattern '^[a-z0-9]+(?:-[a-z0-9]+)*$' to confirm it's a valid URL slug."}],"resultDescription":"Returns whether the provided input string matches the given regex pattern, typically including a boolean match result and optionally matched groups or capture positions.","failureModes":["Invalid or malformed regex pattern causes an error response","Empty input string may return false match","ReDoS risk if a catastrophically backtracking pattern is provided","Missing required query/pattern fields returns a 400 or error response","Unsupported regex flags or syntax may fail depending on the underlying engine"],"whenToPreferThis":"Choose this endpoint when you need a quick, stateless regex match test without setting up a local regex engine or when building an agent workflow that needs to validate string formats on-the-fly. Useful for form validation pipelines, data cleaning agents, or code-generation agents that need to verify regex correctness.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:49:50.462Z","isFirstParty":false}