Heyoo.
The jQuery Validation Plugin works great fur numbers written like:
but here where I live, we write the numbers like:
so the validation fails.
Here's my suggestion for an improved regex which validates both variations
- /^-?(?:\d*(?:(?:,|\.)\d+)?|\d{1,3}(?:(?:\.\d{3})+(?:,\d+)?|(?:,\d{3})+(?:\.\d+)?))$/
Please apply this change.
cu
Mr.Yeah