Search the Help and manual for "Regular Expression Syntax". and be prepared to do some head scratching. It's powerful, but it can take some time to get the hang of. Which is why the developers have included that awesome Preview window, so you can see what is happening. (The Undo feature can also undo an advanced rename as well.)
The exact same operation could also have be done using this expression:
Old Name: (.)(.) (.*)\.(.*)
New Name: \3.\4
Let me break down this example. Here's what The Old Name expression means:[ul][li] (.) = Any single character.
In this case, we used two of these, one for each numeric digit.[/li]
[li] We typed a single space character, because the files contain a space after the numeric portion.[/li]
[li] (.) {first instance} = Search for any and all characters, up to the next term in the expression.
In the screen grab in my first post, we didn't use any subsequent term in the expression, so (.) was resolved to mean the remainder of the file name, to include the the dot and the file extension. However, in the Code box above, I am looking for the file name, then a dot, and then the file extension as three separate terms. The dot is the next term after the (.), so in the codebox expression (.) resolves to the file name only, without the dot and extension.
[/li]
[li] . = This is looking for an actual dot in the file name. The dot character is itself a regular expression character (it is viewed by search as any single character). Preceding it with a slash means to escape the special meaning of a dot, and actually look for it as a character.[/li]
[li] (.) {second instance} = Again we search for any and all characters, after the previous term and before the next term in the expression.
The previous term was the ., and there is not a next term, so this second instance of (.) will parse file extensions of any character length.[/li][/ul][quote="The authors of the DOpus Help File"]The parenthesis, besides affecting the evaluation order of the regular expression, also serves as tagged expression which is something like a temporary memory. This memory can then be used when we want to replace the found expression with a new expression.[/quote]
That means that each term enclosed inside parenthesis in The Old Name can be used in The New Name. In my screen grab in my first post, we had three such parenthesis-enclosed terms. The first two where the first and second digit of the number you wanted to discard, the third was the file name, dot, and extension that you wanted to retain. So we used \3 as the New Name to retain the third tagged expression.
In the Code Box expression above, I have parsed the expression differently, I have isolated the Filename, the dot, and the file extension. So now we have four such parenthesis-enclosed terms. We want to use the third and fourth term, this time separated by a dot (because the dot from the Old File Name is no longer included in any tagged expression).
I thought it might help to see two different examples of what you are trying to do, so you get some understanding of how Regular Expression works. It is fairly tricky when you are new to it.
Another tricky concept is looking for files of certain extensions. Say in the Code Box example above you only wanted to rename those files that had a .bmp or a .jpg file extension. You would change the second instance of (.*) to (bmp|jpg). If you wanted to also perform the rename on .png files you would use (bmp|jpg|png) , and so on.
My advice is to create a folder with some files you can delete without consequence, and to play around and see how it works.