REGEX for Numbers from -999 to 999 , but not -0

后端 未结 0 936
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-25 13:46
^-?[0-9][0-9]{0,2}$

I have this regex but numbers but it allows -0, Any solution?

相关标签:
回答
  • 消灭零回复
提交回复
热议问题