{"slug":"lookups-mtfit-mcp-workers-dev-api-regex-test-e23828","title":"Regex tester, test a regular expression and see matches","host":"lookups.mtfit-mcp.workers.dev","method":"GET","resource":"https://lookups.mtfit-mcp.workers.dev/api/regex_test","category":"code","description":"Regex tester, test a regular expression and see matches. Test a JavaScript regular expression against a text: whether it matches, every match with its position and capture groups, and an optional replacement result. Send the pattern without slashes and flags separately (e.g. gi).","price_listed":0.002,"price_asked":null,"state":"effects","state_label":"Not tested: has real-world effects","checks_7d":0,"answered_7d":0,"latency_ms_median":null,"reported_calls_30d":2,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"flags":"g","pattern":"(\\d{3})-(\\d{4})","text":"Call 555-1234 or 555-9876"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"properties":{"flags":{"default":"g","maxLength":8,"pattern":"^[dgimsuyv]*$","type":"string"},"pattern":{"maxLength":500,"minLength":1,"type":"string"},"replace":{"maxLength":500,"type":"string"},"text":{"maxLength":4000,"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":[],"description_full":"Regex tester, test a regular expression and see matches. Test a JavaScript regular expression against a text: whether it matches, every match with its position and capture groups, and an optional replacement result. Send the pattern without slashes and flags separately (e.g. gi).","last_updated":"2026-11-23T07:33:21.591Z","schemes":["exact"]}