How to use Microsoft PowerToys PowerRenamer tool to strip the last N characters of a file name?
Solution 1:
Assuming you want to change the file name but want to keep the file extensions, you can try the following:
- Search for:
.{12}(\..+)
- Replace with:
$1
- Check
Use Regular Expressions
The above applies to Filename + Extension. If it should apply to Filename only, set the criteria to the following:
- Search for:
.{12}$
- Replace with: Leave empty
- Check
Use Regular Expressions
Change the 12
to the number of characters you want to remove.
Filename + extension
Filename only