ToolAssay

Test a regular expression against a text

Test a regular expression against a text: every match with position, groups and named groups, plus the result of a substitution if you pass a replacement. Flags i, m, s, x. Time-limited, safe against catastrophic backtracking.

Answeringour last check, 2026-10-04
1 of 1checks answered this week
325 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

POST https://api.vextorium.com/v1/regex-test

CategoryCode and developer
Provider hostapi.vextorium.com
Networkseip155:10, eip155:5042, eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
Payment schemesexact
Self-reported calls, 30 days1 from 1 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-10-04 valid payment request 402$0.002 325 ms

Example input (from the provider)

{
  "body": {
    "pattern": "(?P<user>\\w+)@(?P<dom>[\\w.]+)",
    "text": "ana@x.com y luis@y.org"
  },
  "bodyType": "json",
  "method": "POST",
  "type": "http"
}

Promised output schema (from the provider)

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "properties": {
            "flags": {
              "type": "string"
            },
            "max_matches": {
              "type": "integer"
            },
            "pattern": {
              "type": "string"
            },
            "replacement": {
              "type": "string"
            },
            "text": {
              "type": "string"
            }
          },
          "required": [
            "pattern",
            "text"
          ]
        },
        "bodyType": {
          "enum": [
            "json",
            "form-data",
            "text"
          ],
          "type": "string"
        },
        "method": {
          "enum": [
            "POST"
          ],
          "type": "string"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "properties": {
            "coincidencias": {
              "items": {
                "properties": {
                  "end": {
                    "type": [
                      "null",
                      "number"
                    ]
                  },
                  "groups": {
                    "items": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "type": [
                      "array",
                      "null"
                    ]
                  },
                  "named_groups": {
                    "properties": {
                      "dom": {
                        "type": [
                          "null",
                          "string"
                        ]
                      },
                      "user": {
                        "type": [
                          "null",
                          "string"
                        ]
                      }
                    },
                    "type": [
                      "null",
                      "object"
                    ]
                  },
                  "start": {
                    "type": [
                      "null",
                      "number"
                    ]
                  },
                  "text": {
                    "type": [
                      "null",
                      "string"
                    ]
                  }
                },
                "type": [
                  "null",
                  "object"
                ]
              },
              "type": [
                "array",
                "null"
              ]
            },
            "defined_groups": {
              "type": [
                "number",
                "null"
              ]
            },
            "flags": {},
            "group_names": {
              "items": {
                "type": [
                  "null",
                  "string"
                ]
              },
              "type": [
                "array",
                "null"
              ]
            },
            "matches": {
              "type": [
                "boolean",
                "null"
              ]
            },
            "num_matches": {
              "type": [
                "number",
                "null"
              ]
            },
            "pattern": {
              "type": [
                "string",
                "null"
              ]
            },
            "substitution_result": {}
          },
          "type": [
            "object",
            "null"
          ]
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON