javascript - How to write regular expression
伊谢尔伦
伊谢尔伦 2017-06-28 09:27:38
0
2
879

1. The existing numbers to be entered are: 01,03,05,07,09,11,13,15...numbers arranged in this way.
2. There is an input box in which only such numbers are allowed to be entered, separated by commas. How to write the regular expression.

伊谢尔伦
伊谢尔伦

小伙看你根骨奇佳,潜力无限,来学PHP伐。

reply all (2)
滿天的星座

If the strict requirement is to increase the sequence, regularization is difficult to implement.

This is the previous answer, please refer to it.
Continuous ascending and descending letters or numbers


    迷茫
    /^\d+[13579](,\d+[13579])*$/
      Latest Downloads
      More>
      Web Effects
      Website Source Code
      Website Materials
      Front End Template
      About us Disclaimer Sitemap
      php.cn:Public welfare online PHP training,Help PHP learners grow quickly!