القاعدة المعرفية
منشأ
معدل
معدل
Auto Rename Rules
Introduction
The auto rename feature allows renaming of files and folders according to user defined rules.
Type
Equals
If the input equals the Search value, then the Output is the Replace value.
Examples
Search | Replace | Input | Output |
test | new | test | new |
WildCard
The input is being matched against the search value. If there is a match the replace value acts as a template to generate the output value.
The following wild-char or meta characters are defined and can be used in the search and replace value:
- * matches any character string (sequence of characters)
- ? matches any single character
Examples
Search | Replace | Input | Output |
*.htm | *.html | index.htm | a.html |
X*Y*Z | AA*BB*CC | X1stY2ndZ | AAFirstBBSecondCC |
file?.txt | ?file.txt | file1.txt | 1file.txt |
*exp?sin | tra?la* | 94expXsin | tralXla94 |
RegExp
Use regular expressions. Use $1, $2, etc in the replacement string for the sub-matches.
Examples
Search | Replace | Input | Output |
test([0-9]+).html | test-$1.html | test345.html | test-345.html |
Scope
The scope value defines the range in which the rule applies.
File | Applies to files only |
Folder | Applies to folders only |
Any | File or Folder |
Flags
No Case. case insensitive.
كلمات مفتاحية
auto rename rules
مقالات ذات علاقة
What do you think about this topic? Send feedback!