[Javascript] thousand separator

George Pitcher george.pitcher at ingenta.com
Fri Jun 4 01:35:24 CDT 2004


Shawn,

This revelation makes conventional education redundant. They've been using
different teachers for different subjects for hundreds of years. And to
think that 'Mastering Regular Expressions' covers it all - what value. Must
get a copy each for my kids and get them out of school.

;^) George

> -----Original Message-----
> From: javascript-bounces at LaTech.edu
> [mailto:javascript-bounces at LaTech.edu]On Behalf Of Shawn Milo
> Sent: 3 June 2004 10:15 pm
> To: [JavaScript List]
> Subject: Re: [Javascript] thousand separator
>
>
> The best resource is "Mastering Regular Expressions", 2nd edition,
> by Jeffref Friedl.  It is published by O'Reilly Press.
>
> That's where I learned everything I know.
>
> Shawn
>
>
> ----- Original Message -----
> From: Terry Riegel <riegel at clearimageonline.com>
> Date: Thu, 3 Jun 2004 16:35:18 -0400
> To: "[JavaScript List]" <javascript at LaTech.edu>
> Subject: Re: [Javascript] thousand separator
>
> > 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');
>
> >
> > _______________________________________________
> > Javascript mailing list
> > Javascript at LaTech.edu
> > https://lists.LaTech.edu/mailman/listinfo/javascript
>
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript
>




More information about the Javascript mailing list