![]()
|
Using Regular Expressions A Better Finder Rename allows you to use an advanced technique called "Regular Expression Substitution" to replace text segments. This is an advanced technique which requires a certain familiarity with programming concepts and may thus prove inappropriate for novice computer users. The feature is available via the "Replace using Regular Expression" action. A regular expression defines a text (i.e. character string) pattern and assigns a variable to each component of the pattern. The basic rules for patterns are:
Examples:
You use "expression groups" to determine which parts of the text will be grouped together and put into a variable. You achieve this grouping by placing braces around the expression group:
As mentioned before the different pattern groups will be placed into substitution variables. These variables are denoted by \1, \2, \3, \4, etc.. \0 is a special variable that holds the entire matched pattern. The substitution expression is made up from simple text characters and variables. For instance:
will yield the following name transformations:
The [ and ] characters can enclose character lists:
The regular expression syntax that is used corresponds to the subset implemented the MOKit framework. A Complete Regular Expression Reference is available. For those who want to master this technique in earnest, we recommend the following two books: ![]() ![]() |
Download versions for Mac OS X 10.3, the combined A Better Finder Rename/ A Better Finder Attributes disk image or older versions for existing users. A Better Finder Rename costs only $24.95 on its own, and $34.95 together with A Better Finder Attributes. Get detailed information about our upgrade policy and purchase upgrades. Screencasts Reviews "Arguably the best file renaming utility on the market" Mac OS X Power Tools " About this Particular Macintosh "A utility that is as discreet as it is effective." Recommended by MacDigit.Com 2nd April 2008 Version 7.9.7.1 improves support for site licensing. Our Better File Rename for Windows product offers similar functionality for Windows users.
User Manual
A Better Finder Rename Blog This is the first place you should look for solutions to common problems, including how to un-install. File collections beware.. the Big Mean Folder Machine is coming for you.. Questions? Suggestions? Feel like talking to a real person? Just email us at reiff@publicspace.net We are always happy to hear from you. Get this or any other tool on this site for free by linking from your website or blog! |