Soft82.com » Windows » Utilities » File & Disk Management » Rename Regular Expression 1.10
Rename Regular Expression 1.10
Download Rename Regular Expression
| Developer | |
| Product Homepage | |
| Date Added | February 08, 2008, 03:30 GMT |
| License | Free (Freeware) |
| Last Week / All Time Downloads | 2 / 168 |
| Size | 307.2K |
| OS Support | Win Vista/2000/2003/ME/XP |
Rename Regular Expression Description
Rename Regular Expressionhelps you to rename selected files using regular expressions
This documentation will be fairly brief and it assumes you have some knowledge of regular expressions. If you want to learn more, you can read about them on the Internet.
You use a regular expression to match a specific pattern of text, such as all words that begin with “b” or all text starting with 0 and ending with a period.
Regular Expression Syntax
. Matches any single character.
[ ] Indicates a character class. Matches any character inside the brackets (for example, [abc] matches "a", "b", and "c").
^ If this metacharacter occurs at the start of a character class, it negates the character class. A negated character class matches any character except those inside the brackets (for example, [^abc] matches all characters except "a", "b", and "c").
If ^ is at the beginning of the regular expression, it matches the beginning of the input (for example, ^[abc] will only match input that begins with "a", "b", or "c").
- In a character class, indicates a range of characters (for example, [0-9] matches any of the digits "0" through "9").
? Indicates that the preceding expression is optional: it matches once or not at all (for example, [0-9][0-9]? matches "2" and "12").
+ Indicates that the preceding expression matches one or more times (for example, [0-9]+ matches "1", "13", "666", and so on).
* Indicates that the preceding expression matches zero or more times.
??, +?, *? Non-greedy versions of ?, +, and *. These match as little as possible, unlike the greedy versions which match as much as possible. Example: given the input "", <.*?> matches "" while <.*> matches "".
( ) Grouping operator. Example: (d+,)*d+ matches a list of numbers separated by commas (such as "1" or "1,23,456").
{ } Indicates a match group. The actual text in the input that matches the expression inside the braces can be retrieved through the CAtlREMatchContext object.
Escape character: interpret the next character literally (for example, [0-9]+ matches one or more digits, but [0-9]+ matches a digit followed by a plus character). Also used for abbreviations (such as a for any alphanumeric character; see table below).
If is followed by a number n, it matches the nth match group (starting from 0). Example: <{.*?}>.*?


