Difference between revisions of "ReNamer:Rules:RegEx"
Jump to navigation
Jump to search
(case-sensitive parameter and short regex description) |
|||
Line 1: | Line 1: | ||
− | == RegEx Rule == | + | == RegEx Rule == |
− | <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''', which stands for special syntax for describing search and replace patterns. The [[ReNamer:Regular Expressions|RegEx syntax]] is explained in the appendix. | ||
− | + | (The RegEx engine used by ReNamer is a little different from the standard PERL RegEx or Windows RegEx, so even if you arean experienced RegEx user, please have a look at the [[ReNamer:Regular_Expressions|rules]]!)<br> | |
− | + | <br> The parameters are as follows: | |
− | The parameters are as follows: | ||
{| class="prettytable" | {| class="prettytable" | ||
− | ! Parameter | + | |- |
+ | ! Parameter | ||
! Details | ! Details | ||
− | |||
|- | |- | ||
− | | Expression | + | | Expression |
| RegEx pattern to match or find. | | RegEx pattern to match or find. | ||
− | |||
|- | |- | ||
− | | Replace | + | | Replace |
| RegEx pattern that replaces the found pattern. | | RegEx pattern that replaces the found pattern. | ||
− | |||
|- | |- | ||
− | | 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 | + | | Case-sensitive |
− | | | + | | If this option is selected, ReNamer will search for the text in ''case-sensitive'' 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 02:55, 2 July 2009
RegEx Rule
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 the appendix.
(The RegEx engine used by ReNamer is a little different from the standard PERL RegEx or Windows RegEx, so even if you arean experienced RegEx user, please have a look at the rules!)
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 | If this option is selected, ReNamer will search for the text in case-sensitive manner. |
Tip: ReNamer users have posted many RegEx patterns at the User Forum. You can copy and use them.