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


  • Newbie
  • *
  • Posts: 3

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


  • Hero Member
  • *****
  • Posts: 568
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>)