regex_test
Test regular expressions against strings to validate patterns and flags. Verify regex behavior with immediate feedback for debugging and development.
Instructions
Test a regular expression against a string
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"pattern": "<pattern>",
"testString": "<testString>"
},
"name": "regex_test"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | Yes | Regular expression pattern | |
| flags | No | Regex flags (e.g. "gi", "gm") | g |
| testString | Yes | String to test against |