регистр:
Код: Выделить всё
1. 000 //not match
2. 100.000 //match
3. 0 //match
4. 0.0 //match
5. 0.01 //match
6. 00100 // not match
7. 001.1 //not match
8. 101 // match
9. 0.0.01 //not match
10. 02001 // not match
< /code>
Я попробую с [0-9]+(\. [0-9] [0-9]?)? < /code> < /p>
Я буду использовать в поле ввода в качестве шаблона. Пожалуйста, помогите мне. < /p>
Подробнее здесь: https://stackoverflow.com/questions/269 ... n-one-zero