Difference between revisions of "ReNamer:Rules:Strip"
Jump to navigation
Jump to search
(cleaned up) |
|||
Line 1: | Line 1: | ||
− | {{ | + | {{Go|up=ReNamer:Rules|prev=ReNamer:Rules:Extension|next=ReNamer:Rules:Case}} |
− | + | == Strip Rule == | |
− | |||
<center>[[Image:StripRule.png]]</center> | <center>[[Image:StripRule.png]]</center> | ||
− | |||
− | Every occurrence of each of the specified characters will be removed from the filename. | + | Strip characters from the filename. The rule has predefined character sets, like digits, symbols and brackets, but you can also define your own character set. Every occurrence of each of the specified characters will be removed from the filename. |
− | + | The parameters are as follows: | |
− | {| class=" | + | {| class="wikitable" |
|- | |- | ||
! Parameter | ! Parameter | ||
! Details | ! Details | ||
|- | |- | ||
− | | English | + | | align="center" | English |
| | | | ||
− | Strip all English characters (both capital and small). | + | Strip all English characters (both capital and small). |
− | *Numbers (0-9) will not be stripped. | + | * Numbers (0-9) will not be stripped. |
− | *Non-English characters will not be stripped.<br> (e.g. characters with [http://en.wikipedia.org/wiki/Diacritic diacritical mark], which are used in many languages in Europe and Asia) | + | * Non-English characters will not be stripped.<br> (e.g. characters with [http://en.wikipedia.org/wiki/Diacritic diacritical mark], which are used in many languages in Europe and Asia) |
|- | |- | ||
− | | Digits | + | | align="center" | Digits |
| Strip digits | | Strip digits | ||
|- | |- | ||
− | | Symbols | + | | align="center" | Symbols |
| Strip symbols (all characters that are considered to be symbols are showed in the box on the right) | | Strip symbols (all characters that are considered to be symbols are showed in the box on the right) | ||
|- | |- | ||
− | | Brackets | + | | align="center" | Brackets |
| Strip brackets (but not the contents of the brackets) | | Strip brackets (but not the contents of the brackets) | ||
− | *If you want to delete the content as well, use the [[ReNamer:Rules:CleanUp|CleanUp]] rule instead. | + | * If you want to delete the content as well, use the [[ReNamer:Rules:CleanUp|CleanUp]] rule instead. |
− | |||
|- | |- | ||
− | | User-defined | + | | align="center" | User-defined |
| Define any character that needs to be stripped off. | | Define any character that needs to be stripped off. | ||
− | *Note that this is not a string. All characters in the entry are searched for individually and removed. | + | * Note that this is not a string. All characters in the entry are searched for individually and removed. |
− | |||
|- | |- | ||
− | | Strip all characters except selected | + | | align="center" | Strip all characters except selected |
| | | | ||
Retains the selected characters only, and strips the rest. | Retains the selected characters only, and strips the rest. | ||
− | *This option is very useful to strip all non-English characters: Select this option along with the '''English''' option above. | + | * This option is very useful to strip all non-English characters: Select this option along with the '''English''' option above. |
− | |||
|- | |- | ||
− | | Skip extension | + | | align="center" | Skip extension |
| If this check box is selected, the extension will be ignored by the rule. | | If this check box is selected, the extension will be ignored by the rule. | ||
|} | |} | ||
− | |||
− |
Revision as of 10:33, 25 May 2010
Strip Rule
Strip characters from the filename. The rule has predefined character sets, like digits, symbols and brackets, but you can also define your own character set. Every occurrence of each of the specified characters will be removed from the filename.
The parameters are as follows:
Parameter | Details |
---|---|
English |
Strip all English characters (both capital and small).
|
Digits | Strip digits |
Symbols | Strip symbols (all characters that are considered to be symbols are showed in the box on the right) |
Brackets | Strip brackets (but not the contents of the brackets)
|
User-defined | Define any character that needs to be stripped off.
|
Strip all characters except selected |
Retains the selected characters only, and strips the rest.
|
Skip extension | If this check box is selected, the extension will be ignored by the rule. |