Regular expression for positive number with 2 decimals used for displaying money
I think from time to time we all need a regular expression for displaying numbers with 2 decimals for displaying money of various currencies in the world. This regex should only allow 1 dot or comma as a decimal separator. And only allow positive numbers and the numbers can't begin with a 0.
Submitted by Remzi Cavdar - a month ago