Sorry, i did make a typo, that's why it didn't work for me. .. 
here's the solution

${TM_FILENAME/(.*?)(\..+)/\u$1/}

Regards J.


On Mar 1, 2007, at 4:25 PM, Jasper van der Meulen wrote:

I'm trying to get $TM_FILENAME to first string uppercase ..
Is there an easy way ? i can't figure it out

regards J.


______________________________________________________________________
For new threads USE THIS: textmate@lists.macromates.com
(threading gets destroyed and the universe will collapse if you don't)
http://lists.macromates.com/mailman/listinfo/textmate