{"slug":"shop-lordevo-com-api-quick-regex-test-e860d5","title":"Regex tester","host":"shop.lordevo.com","method":"GET","resource":"https://shop.lordevo.com/api/quick/regex-test","category":"code","description":"Regex tester: matches, groups, replace and split (JavaScript flavor): Runs a JavaScript (ECMAScript) regular expression on your text and returns every match with index, line, column, numbered and named groups, or the result of replace or split. Catastrophic patterns are stopped after 3 seconds and n","price_listed":0.002,"price_asked":0.002,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":638,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"pattern":"(?<year>\\d{4})-(?<month>\\d{2})","text":"Released 2026-10 and 2025-03."},"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":"Regex flags, e.g. gi (or write the pattern as /.../flags)","pattern":"^[dgimsuyv]{0,8}$","type":"string"},"max_matches":{"default":"100","description":"Matches to list, 1-1000 (default 100)","pattern":"^\\d{1,4}$","type":"string"},"mode":{"default":"match","description":"match (all matches with groups, default), test (first match only), replace or split","enum":["match","test","replace","split"],"type":"string"},"pattern":{"description":"JavaScript regular expression, up to 2,000 characters, either the bare pattern or /pattern/flags","type":"string"},"replace":{"description":"Replacement for mode=replace ($1, $<name>, $&; default empty = delete matches)","maxLength":10000,"type":"string"},"text":{"description":"Text to run the regex on, up to 400,000 characters (POST for long text)","maxLength":400000,"type":"string"}},"required":["pattern","text"],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"properties":{"flags":{"type":"string"},"flavor":{"type":"string"},"group_count":{"type":"integer"},"group_names":{"items":{"type":"string"},"type":"array"},"match_count":{"type":"integer"},"matched":{"type":"boolean"},"matches":{"items":{"properties":{"column":{"type":"integer"},"end":{"type":"integer"},"groups":{"items":{"type":["string","null"]},"type":"array"},"index":{"type":"integer"},"line":{"type":"integer"},"match":{"type":"string"},"named":{"type":["object","null"]}},"type":"object"},"type":"array"},"mode":{"enum":["match","test","replace","split"],"type":"string"},"notes":{"type":"array"},"parts":{"items":{"type":["string","null"]},"type":"array"},"pattern":{"type":"string"},"replaced_count":{"type":"integer"},"result":{"type":"string"},"tool":{"type":"string"},"truncated":{"type":"boolean"}},"required":["tool","pattern","mode"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-31","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":638,"error":null}],"description_full":"Regex tester: matches, groups, replace and split (JavaScript flavor): Runs a JavaScript (ECMAScript) regular expression on your text and returns every match with index, line, column, numbered and named groups, or the result of replace or split. Catastrophic patterns are stopped after 3 seconds and n","last_updated":"2026-10-30T14:24:17.659Z","schemes":["exact"]}