onkeyup="this.value = this.value.replace(/\D/g, '')" 分别改写成只能输入5-10,6-12和10-20的整数?
5-10 [5-9]|10 6-12 [6-9]|1[0-2] 10-20 1\d|20