1
I wanted to make a RegExp
more or less like this 0000-x
, that was available only the letter X and numbers from 0 to 9. I did a search on the net, I could only do with numbers or that took all letters.
Here’s an example I did, just with numbers: http://jsfiddle.net/1pmwau62/
X
you want it to be a number ?– gmsantos
Not,
x
would be the only letter that could be put into the input– Altemberg Andrade
0000-A would be a valid entry, right ?
– gmsantos