collection replace

Any questions? Need some help?
Post Reply
Zerelah
Posts: 23
Joined: 18 Feb 2014, 16:22

collection replace

Post by Zerelah »

Hey rednoah
sorry to bother you again
I fell over this while browsing the forums

Code: Select all

{collection.replaceAll(/Collection$/).trim()+'/'}
http://www.filebot.net/forums/viewtopic ... tion#p8609
It dosent work when collection starts with the
so star wars collection becomes star wars but the pink panther collection becomes the pink panther collection
would you mind pointing me in the right direction to get it to work with the ?[/color]
Nevermind just figured it out I removed the $ and now it seems to do it but please stil consider next line

would you consider adding this to snippets I think maybe many would like this
Post Reply