<p>I need an regular expression pattern to only accept positive whole numbers.  It can also accept a single zero.</p>

<p>I do not want to accept decimals, negative number and numbers with leading zeros.</p>

<p>Any suggestions?</p>

```
```
/([1-9][0-9]*)|0/
```
```