MrMix
March 14, 2026, 6:24pm
1
Hello and always big thank you for this great program !
Right now I’ve the following string to rename the filename
$num(%track%,2). $left(%album%,25)_%title%
I’d like to change it in $num(%track%,2). XXXXXXXXX_%title% where
XXXXXXX is the second word of %artist%
Example: artist George Michael ——–> 01. Michael_Careless Whisper.mp3
Is it possible ?
Thank you for yr help
MM
For
MrMix:
XXXXXXX
Try:
$regexp(%artist%,.* (.*),$1)
MrMix
March 14, 2026, 6:50pm
3
Working just great ! Thanks
Just to learn something new, could you pls. explain me how it’s working ?
MM
Take the contents of the field %artist%,
Select any bunch of characters until you hit a space, then take then next bunch of characters and remember them.
Finally output the remembered bit.