Difference between revisions of "ReNamer:Rules:Remove"

From den4b Wiki
Jump to navigation Jump to search
(Created page with '== Remove Rule == [[Image:]]This rule removes the specified string from the name. It has options to remove the first occurrence only, the last occurrence only, or all the occurre...')
 
m (general cleanup)
Line 1: Line 1:
 +
{{Template:Cleanup}}
 +
 
== Remove Rule ==
 
== Remove Rule ==
[[Image:]]This rule removes the specified string from the name. It has options to remove the first occurrence only, the last occurrence only, or all the occurrences.  
+
[[Image:]]This rule removes the specified string from the name. It has options to remove the first occurrence only, the last occurrence only, or all the occurrences. You can enter multiple strings at a time. If ReNamer finds any of them in the name, it will be removed. You can create a pattern with wild cards, so that any string that matches the pattern will be removed.
 
 
You can enter multiple strings at a time. If ReNamer finds any of them in the name, it will be removed.  
 
 
 
You can create a pattern with wild cards, so that any string that matches the pattern will be removed.
 
  
 
The parameters are as follows:
 
The parameters are as follows:
 
  
 
{| class="prettytable"
 
{| class="prettytable"
| <center>'''Parameter'''</center>
+
! Parameter
| <center>'''Details'''</center>
+
! Details
  
 
|-
 
|-
Line 20: Line 17:
 
* If the name does not contain the specified string, the rule will not act on it.
 
* If the name does not contain the specified string, the rule will not act on it.
 
* If the name contains more than one of these strings, it will remove all of them.  
 
* If the name contains more than one of these strings, it will remove all of them.  
 
 
  
 
|-
 
|-
 
| [[Image:]] button
 
| [[Image:]] button
| Press to insert a “|” separator between strings.
+
| Press to insert a <nowiki>*|*</nowiki> separator between strings.
  
 
|-
 
|-
Line 42: Line 37:
 
| Interpret symbols as wildcards
 
| Interpret symbols as wildcards
 
| The following wild cards are allowed (compare with RegEx).
 
| The following wild cards are allowed (compare with RegEx).
 
  
 
{| class="prettytable"
 
{| class="prettytable"
|
+
!
| <center>'''Represents-'''</center>
+
! Represents
| <center>'''Example'''</center>
+
! Example
  
 
|-
 
|-
Line 70: Line 64:
  
 
|}
 
|}
 
 
 
|}
 
|}

Revision as of 15:15, 31 May 2009

{{{iparam}}} This article needs to be cleaned up!

Remove Rule

[[Image:]]This rule removes the specified string from the name. It has options to remove the first occurrence only, the last occurrence only, or all the occurrences. You can enter multiple strings at a time. If ReNamer finds any of them in the name, it will be removed. You can create a pattern with wild cards, so that any string that matches the pattern will be removed.

The parameters are as follows:

Parameter Details
Remove Enter the string to be removed.
  • You can enter multiple strings at a time. Press the + button to separate two strings
  • If the name does not contain the specified string, the rule will not act on it.
  • If the name contains more than one of these strings, it will remove all of them.
[[Image:]] button Press to insert a *|* separator between strings.
Occurrences In case the strings occurs multiple times in the name, specify which occurrences should be removed. (Options are- First only, last only, or all)
Skip extension If this check box is unselected, the extension will be included in the rule.
Case sensitive Will only remove a specified string from the name if the case matches exactly.
Interpret symbols as wildcards The following wild cards are allowed (compare with RegEx).
Represents Example
*
any number of characters (including numbers, space, underscores, etc.). abc* equals abc followed by 0 or more characters.
?
Any single character (including numbers, space, underscores, etc.) ab?d equals abcd, ab1d, ab d, ab_d, etc.
[]
Brackets enclose a set of characters, any one of which may match a single character at that position. foo[ab]ar equals fooaar and foobar
-
(only within a pair of brackets) denotes a range of characters. foo[a-z]ar equals fooaar, foobar, foocar, foodar, etc.