{"slug":"agents-204-168-199-108-sslip-io-v1-util-regex-78941b","title":"Run a JavaScript regular expression against text and get every match with its po","host":"agents.204-168-199-108.sslip.io","method":"GET","resource":"https://agents.204-168-199-108.sslip.io/v1/util/regex","category":"code","description":"Run a JavaScript regular expression against text and get every match with its position, numbered and named capture groups, plus an optional replace result. Use to extract emails/IDs/prices from text, or to check a regex before putting it in code. Accepts /pattern/flags or pattern + flags (g i m s u ","price_listed":0.001,"price_asked":0.001,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":933,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["aws:base","eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"flags":"g","pattern":"(?<user>[\\w.]+)@(?<domain>[\\w.-]+\\.\\w+)","replace":"<$<domain>>","text":"Mail ann@example.com or bob.lee@test.co.uk now"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"additionalProperties":false,"properties":{"flags":{"description":"Flags, e.g. gi (optional; default from /…/flags or none)","type":"string"},"max_matches":{"description":"Max matches to return, 1–1000 (default 100)","type":"string"},"pattern":{"description":"Regex, e.g. (?<user>[\\w.]+)@(?<domain>[\\w.-]+\\.\\w+) or /abc/i","type":"string"},"replace":{"description":"Optional replacement string ($1, $<name> allowed)","type":"string"},"text":{"description":"Text to search (max 100,000 chars)","type":"string"}},"required":["pattern","text"],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.001,"price_match":true,"latency_ms":933,"error":null}],"description_full":"Run a JavaScript regular expression against text and get every match with its position, numbered and named capture groups, plus an optional replace result. Use to extract emails/IDs/prices from text, or to check a regex before putting it in code. Accepts /pattern/flags or pattern + flags (g i m s u y d v). Up to 100k characters of text and 1000 matches returned. Sandboxed with a 250 ms limit: catastrophic-backtracking patterns return 400 (not charged) instead of hanging.","last_updated":"2026-11-25T22:43:21.841Z","schemes":["exact"]}