On Thu, 27 Feb 2003 16:55:14 +0100, Alexander wrote:
> regexp for
> 3 digits optional "," and if there is a comma 2 digits
Following this description, it's
/\d\d\d(,\d\d)?/
> I've tried this but it simply didn't work "\\d{1,3}[.,]?\\d{0,2}"
while seeing this one, it could be you meant:
/\d{1,3
> 3 digits optional "," and if there is a comma 2 digits
Maybe this?
\d{3}(?:,\d{2})?
\d{3} - Three digits
(?:,\d{2})? - An optional comma plus 2 more digits
Rob
-Original Message-
From: Alexander [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 27, 2003 10:55 AM
To: [EMAIL PROTECT