$replace feat. with an actual comma

Tags: #<Tag:0x00007f756f587488>

Hello,

I’m looking for a way to replace Feat. to a comma. Is this possible?

$set(artist,$replace(%artist%,Feat. ,))

I have tried quotes and brackets but it doesn’t allow me to do it. Soon as I add the comma it give me an error

As comma is a special character in tagger script you need to escape it by prefixing it with a backslash as \,.

$set(artist,$replace(%artist%,Feat. ,\, ))
3 Likes

Dope that worked!

If I may is there a script/plugin out there that would find the last comma in %artist% and replace with &