Navigation
File Tasks
Find & Replace
The Find & Replace task searches for a text string in each filename and replaces every occurrence with a new string.
Controls
| Control | Description |
|---|---|
| Find | The text to search for in each filename |
| Replace | The text to substitute in place of the found text |
Behavior
- The search is case-sensitive: searching for
Photodoes not matchphoto - All occurrences in a filename are replaced, not just the first
- If the Find field is empty, no replacements are made
- If the Replace field is empty, matched text is deleted (effectively a "delete" operation)
- The
.file extension is included in the search scope, so you can also find and replace within extensions
Examples
| Old name | Find | Replace | New name |
|---|---|---|---|
IMG_0042.jpg | IMG_ | Photo_ | Photo_0042.jpg |
my file (copy).pdf | (copy) | `` | my file.pdf |
SCAN001.tiff | tiff | jpg | SCAN001.jpg |
report final FINAL.docx | FINAL | v2 | report final v2.docx |
Tips
- Use this task to remove unwanted prefixes, suffixes, or repeated characters
- Stack multiple Find & Replace tasks to handle several substitutions in one pass
- Leave Replace empty to delete a pattern from all filenames