find_and_replace
Find and replace text across multiple files using regex and glob patterns. Supports case sensitivity, recursive search, and dry-run preview.
Instructions
Find and replace text across multiple files
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| findPattern | Yes | Pattern to find (supports regex) | |
| replaceWith | Yes | Text to replace with | |
| directory | No | Directory to search in | . |
| filePattern | No | File pattern to include (glob) | * |
| excludePattern | No | File pattern to exclude (glob) | |
| recursive | No | Search recursively | |
| caseSensitive | No | Case sensitive search | |
| dryRun | No | Preview changes without applying them | |
| maxFiles | No | Maximum number of files to process |