Replace blanks with underscores

Hi guys,

I am not really familiar with regular expressions and I need someones help in this case.

example:
Folder: The Beach Boys - Super Album
Filename: The Beach Boys - First Track.mp3

Output should be
Folder: The_Beach_Boys_-Super_Album
Filename: 01-The_Beach_Boys
-_First_Track.mp3

I can achieve most of it with this Rename Tag to Filename line

%artist%-%album%\%track%-%artist%-%title%

But I need help with the "blank -> underscore" replacement which should apply to the complete string.

Thanks in advance.
Andy

See section 'Replace' on http://help.mp3tag.de/en/main_scripting.html

DD.20081113.1817.CET

Thanks very much...works perfectly

$replace(%artist%-%album%\%track%-%artist%-%title%, ,_)