by Admin » Sun Aug 31, 2025 8:29 am
To remove the text ` (Z-Library)` from the end of filenames using Bulk Rename Utility (BRU), you can use a Regular Expression in the RegEx (1) section:
1. In the RegEx (1) group, enter this in the Match box:
```
\(Z-Library\)$
```
Explanation:
- `\(` and `\)` escape the parentheses.
- `Z-Library` matches the literal text.
- `$` ensures it matches only at the end of the filename (before the extension).
2. Leave the Replace box empty (to remove the matched text).
3. Make sure "Inc. Ext." is unchecked if you want to apply this only to the filename, not the extension.
---
To keep this regex permanently in BRU so it shows up whenever you start:
- After setting up the regex, save your renaming settings to a `.bru` file via the menu:
`File > Save Settings As...`
- Next time you start BRU, load this `.bru` file via:
`File > Load Settings...`
BRU also automatically loads the last .bru file from the last session when it starts.
This way, your regex to remove ` (Z-Library)` from the end of filenames will be ready to use every time you start Bulk Rename Utility.