You're viewing a demo portfolio

Join the waitlist
PRSM

regex-tester

Active

Tool of The Stall

declared in 4.82.0

Safe regex testing and extraction. Validates a pattern, finds all matches (with capture groups), replaces text, and explains what the pattern matches. Zero external API calls — instant, deterministic. Useful for agents generating or debugging regex patterns mid-task, validating extracted data, or transforming text with precision.

Parameters schema

{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "properties": {
    "flags": {
      "type": "string",
      "description": "Regex flags: g (global), i (case-insensitive), m (multiline), s (dotAll), u (unicode). Default: 'g'."
    },
    "input": {
      "type": "string",
      "description": "Text to test the pattern against. Max 50,000 chars."
    },
    "pattern": {
      "type": "string",
      "description": "Regular expression pattern (without delimiters). Example: '(\\\\d{3})-?(\\\\d{4})'"
    },
    "replace_with": {
      "type": "string",
      "description": "Optional replacement string. Uses $1, $2, etc. for capture groups. When provided, returns replaced output."
    }
  },
  "additionalProperties": false
}

What this tool wraps· 1 endpoint

min confidence0.700.50

Parent server

The Stall

1/7 registries
View full server →