Regex Tester
cc_regex_testTest regular expression patterns against text or file contents to validate matches, apply flags, and preview optional replacements before using them in code.
Instructions
Testet reguläre Ausdrücke gegen Text oder Dateiinhalt
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>"
},
"name": "cc_regex_test"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Text to test against (or use file_path) | |
| flags | No | Regex flags (g, i, m, s, u) | g |
| pattern | Yes | Regular expression pattern | |
| file_path | No | File to test against (alternative to text) | |
| replace_with | No | Optional replacement string |