Skip to main content

Remove rule

This rule removes the specified text from the file name, optionally using positional criteria and wildcard patterns.

ReNamer Remove rule.png

Options

Remove

Enter the text to be removed.

You can add multiple pieces of text to remove in one rule, by separating them with *|* delimiter. Click the ReNamer plus button.png button to add the delimiter, or type it out manually.

Occurrences

When the text to be removed occurs multiple times in the filename, you can choose to remove all occurrences, only the first occurrence, or only the last occurrence.

Case sensitive

Match case exactly when searching for text to remove. When enabled, "Apple" will not match "apple". When disabled, uppercase and lowercase letters are treated as equivalent.

Whole words only

Match whole words only. When enabled, the text must appear as a complete word, not as part of a longer word. For example, searching for "bar" will not match "foobar" or "bars".

Skip extension

If checked, the file extension will be excluded from processing and will remain unaffected.

Interpret wildcards

Enable wildcard interpretation for pattern matching.

Wildcard Description Example
* Matches zero or more characters. abc* matches abc, abcd, abc123, etc.
? Matches exactly one character. ab?d matches abcd, ab1d, ab d, ab_d, etc.
[] Brackets enclose a set of characters, any one of which must match a single character at that position. foo[ab]ar matches fooaar and foobar.
- Within brackets, denotes a range of characters. foo[a-z]ar matches fooaar, foobar, foocar, foodar, etc.

For more advanced pattern matching, consider using the Regular Expressions rule.