getmusicbee.com

Support => Questions => Topic started by: Babydoll32 on August 30, 2018, 08:45:47 PM

Title: Removing special characters while syncing
Post by: Babydoll32 on August 30, 2018, 08:45:47 PM
Hi,
I'm not good in RegEx and need some help.
I want to sync music to my phone and want to remove special characters (like ◐,#) in filename.
I tried with RegEx, but failed  :(
Can someone help?
Title: Re: Removing special characters while syncing
Post by: redwing on August 31, 2018, 10:37:45 AM
Not sure you really want to remove every cases of special characters.
Anyway, this is how to remove all special characters except a comma, a dot, and a space from title:

Code
$RxReplace(<Title>,"[^a-zA-Z0-9,. ]","")
To remove them from filename, replace <Title> with your entire "filename" template (e.g. <Track#> <Artist> <Title>) after adjusting the character exceptions in the code.
Title: Re: Removing special characters while syncing
Post by: Babydoll32 on August 31, 2018, 02:50:06 PM
Thanks Redwing.
Exactly what I want. Works perfect for me.