We Recommend

Learning Perl Learning Perl
In this smooth, carefully paced course, a leading Perl trainer teaches you to program in the language that threatens to make C, sed, awk, and the Unix shell obsolete for many tasks. This book is the "official" guide for both formal (classroom) and informal learning. It is fully accessible to the novice programmer.


Posted By

remysharp on 10/19/07


Tagged

number format textmate formatting thousand


Versions (?)


Thousand separator regex


Published in: Perl 


  1. s/\d{1,3}(?=(\d{3})+(?!\d))/$&,/g

Report this snippet 

You need to login to post a comment.