Author: christopheEU | Posted on: 9/21/2009 7:09:10 AM | Views : 486

hi,
i'm a beginner with asp net 2.0 and javascript
i have a regular expression that i have found on internet :-)
here is it, this expression is used on a text box
var reg = /^\d{0,5}(\,\d{1,2})?$/;
the problem is that the user IS MANDATORY to enter a coma as this , in the text box for to validate the page!
now, we must to accept to the point => . and the coma => , in the text box
How i can add the . to the regex for to validate the entry in the textbox
thanks for your time
christ
 
...

Go to the complete details ...