What is a regex that can match a generally understandable number? (the simpler the better)
for example, it should match:
10
10.0
10.00
3.3333
123456
100,000
1,234,567
33,456.22
-2.2
.2
-.2
+.2
0.2
.20
should not match:
33,33.1
1.2.3
100,000,000000