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伐。
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])*$/
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