I am not good in Regex and now I am in need of one Regex which accepts only positive whole numbers (like 1,2,3 ... n).
Invalid values are
01, 001, 0, 1.0, -1,-1.0,-01.
Tried this, but its accepting "01" which is not valid in my case.
/[1-9][0-9]*/
Any help will be much appreciated.