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
| Rule | Function | Example | Use Cases |
|---|---|---|---|
| Find & Replace | Find and replace specified text | IMG_001.jpg → Travel_001.jpg | Batch modify keywords, fix typos |
| Insert Text | Insert content at specified position | file.txt → 2024-file.txt | Add prefix, suffix, or separators |
| Remove Text | Delete text in specified range | [Fwd]Original Title.txt → Original Title.txt | Clean up useless prefixes, remove extra characters |
| Swap | Swap content before and after delimiter | John-Resume.pdf → Resume-John.pdf | Adjust naming order, restructure file names |
| Clean Invalid Characters | Clean illegal characters and spaces | file:name?.txt → filename.txt | Process 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
.txtis 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.