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

ControlDescription
FindThe text to search for in each filename
ReplaceThe text to substitute in place of the found text

Behavior

  • The search is case-sensitive: searching for Photo does not match photo
  • 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 nameFindReplaceNew name
IMG_0042.jpgIMG_Photo_Photo_0042.jpg
my file (copy).pdf (copy)``my file.pdf
SCAN001.tifftiffjpgSCAN001.jpg
report final FINAL.docxFINALv2report 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