Thanks Martin, I found it and hacked up a fix by sticking an ereg in with some elseifs (see code in post below).
But I like your solution better as it allows for even more flexibility.
General help
Where is the filename generated in the mm filter?
This discussion has been locked so you can no longer reply to it.