See what Ken wrote,
viewtopic.php?p=8567#p8567.
By adding a separator, that will give you something to go back to use as a filter to then remove the unwanted part.
As it is you can't say "2 directories up - nothing intervening".
What you get is, parent.dir+parent.dir.
So you end up with a name (abbreviated) like:
127928fytomod
If you add a separator (depending on what you choose as the separator) you can have something like:
127928_fytomod
With that, you can then come back & say:
1:RegEx
- Code: Select all
Match: (.*?)_(.*)
Replace: \1
Then you're left with only the 127928 part.