I don't think a Regular Expression is going to work to update tags based on filename.
The expression might return a value, but MusicBee won't know which tag it should be assigned to.
In your formula it's clear that the Title should be set to the filename part.
But there's no way to specify where the result of the expression should be used - if it works at all it will just get evaluated and then discarded.
Can you just use this as your template?
Bee excellent to each other...