正则表达式校验正整数、不以0开头的正整数。
^[1-9]\d*$
Save my name, email, and website in this browser for the next time I comment.
Δ
Type above and press Enter to search. Press Esc to cancel.