[Javascript] thousand separator

Terry Riegel riegel at clearimageonline.com
Thu Jun 3 15:35:18 CDT 2004


Does anyone have a recommendation for a regex tutorial. My eyes get 
blurry when I see code with regular expressions, and I would love to 
get a grasp of what is going on with it.


Terry Riegel
-----------------
MAILKEY: 2524427349




On Jun 3, 2004, at 4:22 PM, Shawn Milo wrote:
> Okay, here's the gravy:
>                someNum = someNum.replace(/(\d)(\d{3}(\.|,|$))/, '$1' + 
> strThou + '$2');
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 488 bytes
Desc: not available
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20040603/af02fbb0/attachment.bin>


More information about the Javascript mailing list