Support => Questions => Topic started by: Dzib on January 19, 2023, 09:24:00 AM
Title: Template Editor Multiple Replace
Post by: Dzib on January 19, 2023, 09:24:00 AM
Hi,
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 : https://genius.com/$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
Thanks
Title: Re: Template Editor Multiple Replace
Post by: Mayibongwe on January 28, 2023, 01:57:40 PM
Welcome to the forum, Dzib,
Haven't tested it, but I don't see why a nested $Replace wouldn't work: