Up front: I am an absolute newbie on Regex.. Over the last few days I gave it a try to get a little(!) bit familiar with this.
There are no good video tutorials for the absolute beginners, having no knowledge of programming. Most tutorials
quickly switch into a 'higher gear' with scripting and so on, meant for the fanatics. So pls bear with me ..
That said I am stuck with the following
Current format is ddmmyy
I'd like to add 19 in front (or 20, if yy is 00,01 at the end)
You're going to have to use a script for this, since DOpus's regular expressions can't perform conditional replacements. They can be used to match the dates however.
What are all the date formats you have. You've listed:
dd-mm-yy
dd-mm-yyyy
What others formats need to be matched?
I will provide the script once we know what formats need to be matched.
Thanks for the offer.
I meanwhile solved the problem using various different renames (regex).
Regretfully, as far as I know, within Opus there is no option to "combine" various rename-instructions into 1 preset.
Meaning, once this 1 "combined" preset is run (containing various instructions), then all are being executed.
Some external renamers (e.g. Flash Renamer) have such an option. Have 1 preset with 15 or more various renames.
For this Opus has the scripting option, but for most of the users I think this is too complex.
Anyway, thanks again for your kind offer!
Truly appreciated.
When you're working with pattern matching, you have to define the pattern that is to be matched. Is there a pattern from your example files that can be defined? In your examples, it isn't simply a dash. Are you trying to remove all but the last two dashes? Or is there some other consistent pattern?
If you want to use multiple regexps at once in the Rename dialog (instead of in a command), you'll need to use a rename script at the moment. There is an example one in the rename scripting forum for doing exactly this.