Text Processing Rules

Want to batch rename IMG_1234.jpg to Travel-Paris-001.jpg? Need to clean up garbled characters or invalid symbols in file names? These are exactly what text processing rules are for.

Rules Overview

RuleFunctionExampleUse Cases
Find & ReplaceFind and replace specified textIMG_001.jpgTravel_001.jpgBatch modify keywords, fix typos
Insert TextInsert content at specified positionfile.txt2024-file.txtAdd prefix, suffix, or separators
Remove TextDelete text in specified range[Fwd]Original Title.txtOriginal Title.txtClean up useless prefixes, remove extra characters
SwapSwap content before and after delimiterJohn-Resume.pdfResume-John.pdfAdjust naming order, restructure file names
Clean Invalid CharactersClean illegal characters and spacesfile:name?.txtfilename.txtProcess downloaded files, standardize naming

Multi-Rule Pipeline

Renamio supports executing multiple rules in sequence, completing complex processing in one go.

Common Combinations:

  • Clean → Replace: Remove garbled characters from ??IMG_001, then change "IMG" to "Travel"
  • Replace → Insert: Change "Photo" to "Travel Photo", then add a date prefix
  • Remove → Insert: Delete forum prefixes like [Fwd], then insert author name

💡 Why use pipelines? Because doing two manual operations easily misses files and is inefficient. Pipelines ensure every file goes through complete processing.

Tips

  • ⚠️ Preview before applying Confirm the effect looks right before clicking "Apply" to avoid accidental mistakes

  • 🪜 Break complex tasks into steps For example, if you want "clean + replace + add prefix", you can preview three times to confirm, or use a pipeline to do it all at once

  • 🔤 Pay attention to case sensitivity "jpg" and "JPG" are different in many rules, remember to check the "Case Sensitive" option

FAQ

Q: Why isn't the replacement working? A: Most common reason: you typed jpg, but the file name is JPG. Check the "Case Sensitive" option.

Q: Why is the insertion position always wrong? A: Pay attention to two options:

  • "From Right": Determines whether the position is counted from the left or right
  • "Ignore Extension": Determines whether .txt is included in the length calculation

Q: The file name became unrecognizable after cleaning? A: Adjust the cleaning mode, or add special symbols you want to keep (like - or _) in the "Preserve Characters" field.

💡 If you're still unsure, click the rule name to see specific examples for each rule.