【常用正则表达式】

正则表达式

https://c.runoob.com/front-end/854/

正整数的正则表达式(包括0):^[+]{0,1}(\d+)$
正整数的正则表达式(不包括0):^[1-9]\d*$

posted @ 2022-07-27 16:16  csj425  阅读(20)  评论(0)    收藏  举报