Please help me make regular expression for positive decimal number with 0, 1 or 2 decimal places. It must allow comma and dot. For example it must allow:
0,0
you can use the bracket notion to limit the number of digits:
\d{0,2} would mean any run of digits from a minimum of 0 to a maximum of 2