I have to match values like
€ 6.483,00
OR values like
18,50%
OR, again,
+65,86 %
in a Javascript function, which I drafted as:
function(s) {
return /^[0-9]?[0-9,\.]*$/.test(s);
}
but, obviously, it's not working... how should it be changed?