regular expressions

How can I make the name of the file that is:

The rolling stones__paint it black.mp3

"__" = "2 spaces"

Stay

THE ROLLING STONES__Paint It Black.mp3

The between the artist and the name of the song is separated by 2 spaces

$regexp($caps('The rolling stones paint it black'),'^(.+?)(\s\s)(.+?)$','\U$1\E$2$3') $regexp($caps(%_filename%),'^(.+?)(\s\s)(.+?)$','\U$1\E$2$3') From: 'The rolling stones paint it black' To : 'THE ROLLING STONES Paint It Black'

DD.20170826.0945.CEST

See also ...
/t/6900/1
/t/6856/1
/t/6920/1