Regex tester
regex_testerTest a JavaScript regular expression against text and return every match with its captured groups. Runs on smart-tools.xyz.
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>",
"text": "<text>"
},
"name": "regex_tester"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text to test against | |
| flags | No | Regex flags, any of gimsuy (default g) | |
| locale | No | Language for the source_url link (default en) | |
| pattern | Yes | The regular expression source (no delimiters) |