Wow, thanks so much, it works flawlessly!! :)


On Fri, Mar 26, 2010 at 1:17 PM, Hans-Jörg Bibiko <bibiko@eva.mpg.de> wrote:

On Mar 26, 2010, at 9:06 PM, Kai Vermehr wrote:

> Thanks a lot! I don't want to take advantage of you, but if you had the time, how would you convert number formatting from 1.234,56 to 1,234.56 with regex and tmcommand?

Hmm, if the format is fix you can try:


perl -pe 's/,(?=\d{2}$)/./g;s/\.(?!\d{2}$)/,/g'


--Hans

_______________________________________________
textmate mailing list
textmate@lists.macromates.com
http://lists.macromates.com/listinfo/textmate



--
Kai Vermehr
eBoy Arts Inc.
5658 Westhaven Road
West Vancouver BC
V7W 1T8 Canada
mobile +1 (778) 822 4498
k@eboy.com