regex_replace
Replace text matching a regular expression pattern with a specified replacement string. Supports flags for case-insensitive, multiline, and dotall matching.
Instructions
Replace text matching a regular expression.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to process | |
| pattern | Yes | Regular expression pattern to match | |
| replacement | Yes | Replacement string | |
| flags | No | Regex flags (i=ignorecase, m=multiline, s=dotall) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |