G
giulio santorini
Hi,
I would like to build a regular expression that allows
only a number with 3 integer the decimals separator and
other three decimals.
I've build the firt part in this way:
^([1-9]{1}|[1-9]{1}[0-9]{1}|100)$
Now I'am tring to build the second one but... it's quite
difficult.
Somebody could help me? This is what I've done:
^([1-9]{1}|[1-9]{1}[0-9]{1}|100)\.([0-9]{1}|[0-9]{2}|[0-9]
{3})$
But it doesn't work as I would... :-\
Thanks in advance!
I would like to build a regular expression that allows
only a number with 3 integer the decimals separator and
other three decimals.
I've build the firt part in this way:
^([1-9]{1}|[1-9]{1}[0-9]{1}|100)$
Now I'am tring to build the second one but... it's quite
difficult.
Somebody could help me? This is what I've done:
^([1-9]{1}|[1-9]{1}[0-9]{1}|100)\.([0-9]{1}|[0-9]{2}|[0-9]
{3})$
But it doesn't work as I would... :-\
Thanks in advance!