{"uid":"cap_Bf2NowFhEdP6vqYF09rGh","slug":"vextorium-regex-tester-e1531633","name":"Vextorium Regex Tester","description":"Test a regular expression against a text: every match with position, groups and named groups, plus the result of a substitution if you pass a replacement. Flags i, m, s, x. Time-limited, safe against catastrophic backtracking.","url":"https://api.vextorium.com/regex-probar-pago?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"flags":{"type":"string"},"texto":{"type":"string"},"patron":{"type":"string"},"reemplazo":{"type":"string"},"max_coincidencias":{"type":"integer"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_JbFl2I06Vs-JkgWdkKccA","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Test a regular expression against text, returning all matches with positions, capture groups, named groups, and optional substitution result","exampleAgentPrompt":"Test the regex pattern `(?P<user>[\\w.]+)@(?P<dom>[\\w.]+)` against the text 'Contact alice@example.com or bob@test.org' with case-insensitive flag, and also replace matches with '[REDACTED]'.","exampleUseCases":[{"title":"Email extraction from raw text","prompt":"Run the regex `(?P<user>[\\w.+-]+)@(?P<dom>[\\w.-]+\\.[a-z]{2,})` against this text: 'Reach us at support@acme.com or sales@acme.co.uk' — give me all matches with their named groups and positions."},{"title":"Log line parsing with substitution","prompt":"Test the pattern `ERROR (\\d{3}): (.+)` against my log snippet 'ERROR 404: Page not found\\nERROR 500: Internal error' using multiline flag, and replace each match with 'FAULT \\1 — \\2'."},{"title":"Validate date format in a string","prompt":"Check whether the pattern `^\\d{4}-\\d{2}-\\d{2}$` matches the string '2024-07-15', and tell me if it fully matches, what the groups are, and what position the match starts at."}],"resultDescription":"Returns whether the pattern matched, total number of matches, each match's text and start/end positions, positional capture groups, named capture groups, defined group count, group names list, and the full substitution result string if a replacement was provided.","failureModes":["Invalid regex pattern returns an error (catastrophic backtracking is time-limited and killed safely)","Missing required fields 'patron' or 'texto' returns a validation error","Unsupported flag characters outside i, m, s, x cause an error","Payment of 0.002 USDC not provided or rejected blocks the request","Very large input text may be truncated or rejected"],"whenToPreferThis":"Choose this endpoint when you need server-side, safe regex execution with full match detail (positions, capture groups, named groups) without running untrusted patterns locally. It is especially useful when you want substitution results alongside match metadata in a single call, need protection against ReDoS via server-side time limits, or are working in an environment where executing arbitrary regex locally is undesirable.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T12:41:33.247Z","isFirstParty":false,"canonicalSlug":"vextorium-regex-tester-e1531633"}