I need a regex, that solves the follwing task: - input - a single char from a to j and a single number after the char from 1 to 10 (inclusive)
Correct: a1, a2, f3, b7, c10
Wrong: a11, b0, abv, a34, h11, 1c
I've tried these: ^[a-j]{1}[0-9|10]{1,2}$ ^[a-j]{1}[0-9]{2}$
Thanks in advance!