I need a regular expression pattern to only accept positive whole numbers. It can also accept a single zero.
I do not want to accept decimals, negative numbers, or numbers with leading zeros.
Any suggestions?