I am having a small issue with labeling my Movies how I want to. What I am trying to do is have the Collection Name (minus Collection) followed by the Movie Title and Year. The issue comes in when I am trying to neaten things up a bit for the few movies that already include the Collection Name in the Movie Name; For Example, Die Hard.
Here is what I have at the moment:
Code: Select all
C:/Movies/{vf}/{"$collection - ".replaceAll('Collection')}{n.replaceAll(':', replacement = " - ")} [{y}]
I want to try and remove the Second "Die Hard" and the " - " before it if that's possible?
I know it's not a massive issue and it's something that I can fix manually but I am sure this will annoy someone else too

Thanks in advance for any help!