regex 1-9999 for form validation

前端 未结 4 1237

I am trying to write some form validation, I need one of the inputs to be 1-9999. I know nothing about regular expressions ( never used them before) and here is my first attempt

4条回答
提交回复
热议问题