Difference between revisions of "ReNamer:Rules:Strip"

From den4b Wiki
Jump to navigation Jump to search
(Left align the parameters column)
(Separated parameter sets.)
Line 5: Line 5:
 
<center>[[Image:StripRule.png]]</center>  
 
<center>[[Image:StripRule.png]]</center>  
  
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.  
+
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. All occurrences of the specified characters will be removed from the filename.  
  
The parameters are as follows:  
+
Character set parameters:
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 35: Line 35:
 
| 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.
 +
|}
 +
 +
Other parameters:
 +
 +
{| class="wikitable"
 +
|-
 +
! Parameter
 +
! Details
 
|-
 
|-
 
| Strip all characters except selected
 
| Strip all characters except selected

Revision as of 22:14, 6 January 2021

Strip Rule

StripRule.png

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. All occurrences of the specified characters will be removed from the filename.

Character set parameters:

Parameter Details
English

Strip all English characters (both capital and small).

  • Numbers (0-9) will not be stripped.
  • Non-English characters will not be stripped.
    (e.g. characters with diacritical mark, which are used in many languages in Europe and Asia)
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)
  • If you want to delete the content as well, use the CleanUp rule instead.
User-defined 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.

Other parameters:

Parameter Details
Strip all characters except selected

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.
Skip extension If this check box is selected, the extension will be ignored by the rule.