Author Topic: Template Editor Multiple Replace  (Read 578 times)


  • Newbie
  • *
  • Posts: 17

Being quite new in MusicBee, I'm struggling to create custom weblinks with the template editor.
I try to replace some characters in the link :$Replace(<Artist>-<Title> lyrics," ","-") wotks but I'd like also to remove apostrophes...
I can't find how to have multiple replaces.

Edit: I've tried with regex but looks like $rxreplace(<Title>, "\s+", "-") doesn't work

Last Edit: January 19, 2023, 09:45:21 AM by Dzib


  • Sr. Member
  • ****
  • Posts: 1094
  • Heal The World
Welcome to the forum, Dzib,

Haven't tested it, but I don't see why a nested $Replace wouldn't work:

Code$Replace($Replace(<Artist>-<Title> lyrics," ","-"),"<apostrophe>",<nothing>)
I already spend hours on end on social media. Might as well spare a few of those to a greater purpose here.