regex-tester
ActiveTool of The Stall
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
}No endpoints wrapped at confidence ≥ 0.70.
Parent server
The Stall
1/7 registries