{"slug":"agentstoolshub-com-api-v1-dev-regex-tester-3ae45e","title":"Test a regular expression against text and see every match","host":"agentstoolshub.com","method":"GET","resource":"https://agentstoolshub.com/api/v1/dev/regex-tester","category":"code","description":"Test a regular expression against text and see every match: the matched substring, its index, and all capture groups. Deterministic — the same pattern and text always produce the same result, unlike LLM-simulated regex matching. Use this when an agent needs to pattern + text → every match, group and","price_listed":0.002,"price_asked":0.002,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":241,"reported_calls_30d":3,"reported_payers_30d":2,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"flags":"g","pattern":"[\\w.+-]+@[\\w-]+\\.[\\w.]+","text":"Contact jane@acme.io or bob@test.org today"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"properties":{"flags":{"description":"Flags","type":"string"},"pattern":{"description":"Pattern","type":"string"},"text":{"description":"Text to test","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-10-18","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":241,"error":null}],"description_full":"Test a regular expression against text and see every match: the matched substring, its index, and all capture groups. Deterministic — the same pattern and text always produce the same result, unlike LLM-simulated regex matching. Use this when an agent needs to pattern + text → every match, group and index.","last_updated":"2026-10-17T04:23:53.632Z","schemes":["exact"]}