Quote:
Originally Posted by NiLuJe
@nynaevelan:
If I understand correctly, you want to transform a tag from 'Something.Another' to 'Another'?
You can certainly do that, using re groups & backrefs, with something like:
rename_from:
^(.*?\.)(.*?)$
rename_to:
\2
This specific pattern doesn't handle more than one sublevel, but if you need something that handles more, it shouldn't me much harder to do ^^.
For example,
^(.*?\.)*(.*?)$
\2
supports any number of sublevels while only keeping the deepest sublevel (ie. A.B.C.D.E.F => F).
|
Thanks, I have a question posted for Chaley regarding this issue, so hopefully I will be able to use something that will allow me to continue to use the plugin, my custom send to template and metadata plugboard.