regex_replace
Find and replace text using regular expressions, supporting capture groups in replacements.
Instructions
[PRO — 3 trial uses left] Find and replace text using a regular expression. Supports capture groups ($1, $2, etc.) in the replacement string.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Input text | |
| flags | No | Regex flags (default: 'g'). Common: 'gi' for global case-insensitive. | |
| pattern | Yes | Regular expression pattern | |
| replacement | Yes | Replacement string (use $1, $2 for capture groups) |