You can change the case of all or part of a filename using one of the options in the Change Case menu. These will be applied to the section of the filename that is matched by the Match regex. Usually you will want to put $0 (the variable containing all text matched by the match pattern) in the Replace field so it isn’t deleted but “replaced with itself”. To change case of the entire filename simply match everything by typing .* in the Match field. In fact, if you select a Change Case option while either field is empty, the values .* and/or $0 will be inserted for you.
Note: Title case will lowercase all letters, then uppercase the first letter after each non-alphanumeric.
Example: Forcing lowercase file extensions
To insert a numbered sequence type $# in the Replace field at the appropriate position. This will be replaced with a number that is incremented for each file, in original filename order. The sequence can be customised using the Numbering menu:
|The first number or letter in the sequence (any integer >= 0, or lower/uppercase letters)|
|The amount of zero-padding to use (one or more 0’s) - not used for letter sequences|
|The amount to increment the sequence (any integer except 0)|
|The number of files after which the sequence will be reset|
Tip: You can use a negative number for the increment field to count backwards, but the resulting number must still be positive.
Example: Renaming photos
In addition to renaming files in the current directory, RegexRenamer can move or copy matched files before renaming them. In Move/Copy/Backup mode any file that matches the Match pattern will be processed, even if the preview is the same as the original name (ie, you replace with $0). This means you can also use this feature to move or copy files that match a particular regex.
|Files will be renamed normally in the current folder|
|Files that match are moved and renamed|
|Files that match are copied and the copies are renamed|
|Files that match are copied and the originals are renamed|
After selecting any of the last 3 options you will be prompted to choose a destination folder, and the Move/Copy menu will be highlighted to indicate an option has been selected. To change the destination folder, simply select the same menu item again.
Example: Archiving temporary backup files