Current position: Home > Tools > > Article

File Rename Plus - English

Software Hub 2016-08-16 0 reviews

File Renamer Tutorial

A comprehensive guide to using the file renaming tool with regular expressions

Quick Start

  1. 1
    Target file specification: You can drag and drop files into the file list or search for Search Files from a specific directory.
  2. 2
    Set rename pattern: Set the Delete/Replace pattern from Settings.
  3. 3
    Confirm rename: Execute DRY RUN to confirm the renaming.
  4. 4
    Execute rename: Execute SAVE to rename the actual file.

Specify the target file

You can specify the target file to be renamed in two ways: "File Search" or "Direct Specification".

To remove a file from the target file list, click the button on the left side of the line. You can also empty the file list by clicking the upper left button.

File Search

Search for files in any folder and add them to the target file list.

There are three ways to search for files:

  • Select from the folder icon in the upper left corner using the dialog.
  • Dragging a folder to the folder path in the upper left corner.
  • Directly enter the folder path in the upper left corner and press the File Search button.

You can specify the conditions for file search from Rules > File Search.

Directly specify

Directly specify the files to be renamed.

There are two ways to specify directly:

  • Use the Add Files dialog above to select the file.
  • Drag the file to the file list.

Rename settings

Specify the conditions for file renaming.

The execution order of the conditions is "Delete" → "Replace". If you want to delete the file after "Replace", leave Replace Text empty in Replace Pattern, which is the same as "Delete".

Delete Texts

Specify the characters to be deleted.

ADD adds a new line. You can delete a line by clicking the button on the right side of the line. To change the order of the lines, grab the left edge of the line and drag.

You can select the "Common Pattern" by clicking the bottom right button.

If the Regular Expression checkbox is checked, you can specify the characters to be deleted using regular expression.

Regular Expression

The regular expressions(Regex) in this software use "Microsoft .NET" regular expressions. The following is a list of typical ones. For a more detailed explanation, please refer to the following links.

Regex Quick Reference - Microsoft Docs

Regex description pattern Input Output
[ch_group] Matches any single character in ch_group. [ae] Gray,Sea,Green Gry,S,Grn
[first-last] Character range: Matches any single character in the range from first to last. [A-Z] Rocky4 ocky4
. Wildcard: Matches any single character a.e water wr
w Matches any word character w A.a ~ä- . ~-
s Matches any white-space character s A B C ABC
d Matches any decimal digit d Rocky4 Rocky
^ Match must start at the beginning of the file name ^r rear rock ear rock
$ Match must occur at the end of the file name r$ rock rear rock rea
* Matches the previous element zero or more times o*r door,or,o,lr d,,o,l
+ Matches the previous element one or more time o+r door,or,o,lr d,,o,lr
? Matches the previous element zero or one time o?r door,or,o,lr do,,o,l
{n} Matches the previous element exactly n times [or]{2} door,or,o,lr dr,,o,lr
escape Recognize escape characters such as . and * as normal characters. d.d 1_2.3_45 1__45

Replace Pattern

Specifies the pattern before and after the replacement.

ADD will add a new line. You can delete a row by clicking the right button in the row. To change the order of the lines, grab the left edge of the line and drag.

You can select the "Common Pattern" by clicking the bottom right button.

If Regular Expression is checked, you can specify the replacement pattern using regular expression.

Regular Expression

The regular expression before replacement is the same as Delete Texts.

There are also regular expression that can be used after the replacement. Some of the most common are listed below. For a more detailed explanation, please refer to the following links

Substitutions In Regular Expressions - Microsoft Docs

Regex Description Target Text Replace Text Input Output
$0 Include all matching strings in the replacement string ABC X$0X abc ABC AnBC abc XABCX AnBC
$num Includes the last substring matched by the capturing group that is identified by num d*(d{3}) $1 A0012 34 A012 34


File Renamer Original Regex

This is a regular expression unique to this application that is not found in the "Microsoft .NET".

Regex Description Input Output
u Convert all text to upper case low UPP Pas LOW UPP PAS
l Convert all text to lower case low UPP Pas low upp pas
h Convert all letters and numbers to Half-width characters Ha14 Fu17 Ha14 Fu17
Convert all letters and numbers to Full-width characters Ha14 Fu17 Ha14 Fu17
Convert all Half-width Katakana to full-width アンパン バイキン アンパン バイキン
  Convert umlauts to plain-ascii characters süß ÖL Ära suess OEL Aera

【Insert screenshot of software-specific regex examples】

Add special characters

You can add special characters by specifying symbols in Replace Text in Replace Patterns.

Replace Text Description Input Output
$d Add the directory name _abc.txt ParentDir_abc.txt
$t Add Date modified _abc.txt 2018-03-14_abc.txt
$t<yy-MM-dd HH-mm-ss> Add Date modified with a format _abc.txt 18-03-14 18-58-59_abc.txt
$t<D> Add Date modified in local format _abc.txt Wednesday, March 14, 2018_abc.txt
$t<,c> Add Created Date _abc.txt 1942-01-08_abc.txt
$t<yy-MM-dd HH-mm-ss,c> Add Created Date with a format _abc.txt 42-01-08 14-58-59_abc.txt
$n Adding serial numbers _a.txt
_b.txt
_c.txt
1_a.txt
2_b.txt
3_c.txt
$n<0,10,000> Add serial numbers by specifying Start Number, Step and Zero-Padding Digits _a.txt
_b.txt
_c.txt
000_a.txt
010_b.txt
020_c.txt



Add Serial Number dialog

Setting up serial numbers is complicated, so a settings dialog is available.

You can change the following settings and check them in the sample file list:

  • Insert Position
  • Start Number
  • Step
  • Zero-Padding Digits
  • Reset per Folder
  • Inverse
  • Prefix Text
  • Postfix Text

Finally, you can add to the Replace Patterns with ADD.



Rename confirmation

DRY RUN allows you to see the files before and after they are renamed.

The description of each column in the file list is as follows:

Column name Displayed contents Function
Delete button Delete button Delete the line. The button in the header deletes all files.
OLD File Name File name before renaming. The changed part becomes a pink background.  
NEW File Name File name after renaming. The changed part becomes a green background.  
Mark with change A check mark is displayed if there are any changes. The button in the header makes the file list only with changes.
Mark with duplicate If there are duplicates, a duplicate mark is displayed. The button in the header makes the file list only with duplicates.
File type mark The file type is indicated by an icon.  
Directory Directory to which the file belongs Click to display the file in the explorer
Size Size of the file  
Date modified Date and time of file modification  
Created Date Date and time of file creation  

Save rename

SAVE will rename the actual file. Cannot be executed if there are duplicates in the file list.

If the directory to which the file belongs is rewritten when renaming is executed, it will be removed from the file list.

© 2023 File Renamer Tool. All rights reserved.

    Support us by Donate

    Inorder to keep our app free to all the uses, We need the support to continue work. And you will be appreciated.

    Coolle Image Editor

    Coolle Image Editor is a free Image Editor. Its biggest feature is that it is very small in size and has many functions. It is easy for most people to use and operate.

    Search
    Free PDF Converter

    Support Us by Using Free Products
    Featured Products
    Recommend Articles
    Random tag
    HEICAuto ClickerMouse Auto ClickerMouse ClickerTaskbarBatch file renameDVD creatorColor PickerVideo Editorphoto editorvideo makermovie makerreverse videoreverse movievideo reditormake videomovies playervideo playerxlsxlsx
    Latest reviews
    Friendly link