ToolAssay

Regex tester

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

Answeringour last check, 2026-10-31
1 of 1checks answered this week
638 msmedian answer time
$0.002listed price per call
$0.002price it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

GET https://shop.lordevo.com/api/quick/regex-test

CategoryCode and developer
Provider hostshop.lordevo.com
Networkseip155:8453
Payment schemesexact
Self-reported calls, 30 days1 from 1 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-10-31 valid payment request 402$0.002 638 ms

Example input (from the provider)

{
  "method": "GET",
  "queryParams": {
    "pattern": "(?<year>\\d{4})-(?<month>\\d{2})",
    "text": "Released 2026-10 and 2025-03."
  },
  "type": "http"
}

Promised output schema (from the provider)

{
  "$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"
}

This page as JSON