Rename Files with Search and Replace

Previous page  Return to Introduction  Next page

FileBoss for Windows
File Manipulation to the Max
Click for more on FileBoss  

Renaming with Search and Replace

 

Renaming: Search & Replace Panel

Renames files by replacing text or patterns you specify with other text.

Examples of renamed files with this dialog

Search / Replace

From

To

will be / is

FileBoss will be great.doc

FileBoss is great.doc

(in)|(as)|(at)|(be) / empty

FileBoss is be great.txt

FileBoss is great.txt

.jpg / .jpeg

My Dog.jpg

My Dog.jpeg

Search Method for Finding Text

 

Search Method

Three different types of searching can be performed.

FileBoss supports smart white space matching where the white space (spaces and tabs) does not have to be exact for a match to occur. This allows the search pattern to specify one space or tab and FileBoss will still match even if the source text contains two or more consecutive spaces or tabs or a mixture of both.

The type of search to be done is specified by choosing on of the following options:

Exact

Matches the search pattern exactly (no wild cards have special meaning) except for capitalization and white space. Capitalization is controlled by the 'Match capitalization' check box and all white space is considered to be the same, e.g. spaces, tabs and new lines are considered to be the same. In addition multiple spaces will match one space and vice-a-versa.

Normal

In normal searching, FileBoss recognizes two wild card characters: the question mark and the asterisk.

The question mark (?) matches any one character.

The asterisk (*) matches any number of any characters up until the next character in the search pattern. For instance, the search pattern F*ss, would match FileBoss

To enter an asterisk or question mark as literals, i.e. without special meaning, precede them with a backslash.

Unix (Regular Expression)

See Unix Style Searches for a complete definition of FileBoss's Unix style search implementation.

A Regular Expression. (This is an advanced technique.)

The 'Test' Button

If you would like to experiment with different patterns to see exactly what text they will and will not match, click the Test button. It will bring up a dialog where you can experiment with different formats and see how they match text that you enter.

Search Method for Finding Text to Replace

 

Pattern or Text to Find

The format of the text you enter is determined by the format you selected above these fields, e.g. Exact, Normal or Unix.

Replace with

The text you want to replace the text you entered in above field. If this field is left blank the any text found matching the pattern to find will simply be deleted.

Confirmation Dialog Format

Specifies the format for displaying the new filenames in the confirmation dialog.

Extension Display Option

When the 'With Name' option is selected the filename to be changed will be displayed in the following format:

New Filename with Extension

But when the 'Separately' option is chosen the name will be split into two parts: the name portion and the extension portion.

New Filename with Sperate Extension

Normally displaying the extension separate from the main name is the more convenient, especially if you will be manually altering the names. It allows to change the filename easily without accidentally changing the extension. (And extensions are critical for most Windows programs to recognize which files they can work with.

More ways to rename files

For complete help on how to rename files see How To Rename Groups of Files in the How To Do Everything section of this help file.

To learn about the different ways to rename individual files see How to Rename Individual Files in the How To Do Everything section of this help file.

Ref: HIDD_REN_PAGE_REPLACE

Have a question about FileBoss or anything else?

If this page didn't have what you are looking for or you want to know more just ask us. Please!

 

Your Email Address:

Your Question: