fs_file_replace
Replace text in-place within a file and get the number of matched lines. Specify file path, search term, and replacement string.
Instructions
In-place text replace, return matched line count.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| replacement | Yes | ||
| search_term | Yes | ||
| line_separator | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||