Difference between revisions of "ReNamer:Rules:RegEx"

From den4b Wiki
Jump to navigation Jump to search
(case-sensitive parameter and short regex description)
Line 2: Line 2:
 
<center>[[Image:RegExRule.png]]</center>
 
<center>[[Image:RegExRule.png]]</center>
  
This rule finds text that matches the specified RegEx pattern, and replaces it with another string. (''RegEx'' is short for '''Regular Expressions''').  
+
This rule finds text that matches the specified RegEx pattern, and replaces it with another string. RegEx is short for '''Regular Expressions''', which stands for special syntax for describing search and replace patterns. The [[ReNamer:Regular_Expressions|RegEx syntax]] is explained in a separate article.
  
The RegEx syntax is explained [http://den4b.com/wiki/index.php/ReNamer:Regular_Expressions here].
 
  
 
The parameters are as follows:
 
The parameters are as follows:
  
 
{| class="prettytable"
 
{| class="prettytable"
| <center>'''Parameter'''</center>
+
! Parameter
| <center>'''Details'''</center>
+
! Details
  
 
|-
 
|-
 
| Expression
 
| Expression
| RegEx pattern to match (find).
+
| RegEx pattern to match or find.
  
 
|-
 
|-
Line 23: Line 22:
 
| Skip extension
 
| Skip extension
 
| If this check box is unselected, the extension will be included in the rule.
 
| If this check box is unselected, the extension will be included in the rule.
 +
 +
|-
 +
| Case-sensitive
 +
| Specifies whether to process text in case sensitive or insensitive manner.
  
 
|}
 
|}
 
'''Tip:''' ReNamer users have posted many RegEx patterns at the [http://www.den4b.com/forum/index.php User Forum]. You can copy and use them.
 
'''Tip:''' ReNamer users have posted many RegEx patterns at the [http://www.den4b.com/forum/index.php User Forum]. You can copy and use them.

Revision as of 13:40, 23 June 2009

RegEx Rule

RegExRule.png

This rule finds text that matches the specified RegEx pattern, and replaces it with another string. RegEx is short for Regular Expressions, which stands for special syntax for describing search and replace patterns. The RegEx syntax is explained in a separate article.


The parameters are as follows:

Parameter Details
Expression RegEx pattern to match or find.
Replace RegEx pattern that replaces the found pattern.
Skip extension If this check box is unselected, the extension will be included in the rule.
Case-sensitive Specifies whether to process text in case sensitive or insensitive manner.

Tip: ReNamer users have posted many RegEx patterns at the User Forum. You can copy and use them.