I am trying to write a validation function that would allow me to detect any
UTF-8 characters
Just to give the context -- its a user driven program and we would like to
detect when the user has entered any UTF-8 character Vs. only ASCII
characters.
An expression something like this : "[a-zA-Z][\
Hi,
I am using the reg-exp1.2 libraries and the following regular expression:
^([0-9]?[0-9]?[0-9](,[0-9]{3})+)|([0-9]+)$
to match user input for validation (Basically a positive number possibly
with commas).
when I run the input 123,12 it is accepted
when I run the input 123,123a it is accepted
I was wrong,
I forgot that the "^$" symbols are part of the expression, and thus I needed
an extra set of parens around everything but those two characters to get the
desired result.
Sorry for the trouble,
Eitan
-Original Message-
From: Eitan Katznelson [mailto:[EMAIL PROTECTED]]
Sent: