I'm looking to have a regex that validates any string from 046R to 120R.
Sounds simple enough, but I'm missing something here. this is what I have:
^04[6-9]R|0[5-9][0-9]R|10[0-9]R|11[0-9]R|120R +$
But it's not picking up the 120R as a valid string as well. As can this expression be simplified?
Thanks in advance.
10[0-9]R|11[0-9]R~1[01][0-9]R.