0
how could I form a username validation with javascript that consist (9 digit + a) or (9 digit +A)
thank you
2 Answers
+ 1
You can use for example the following regex or you can construct your own pattern: /^([0-9]{9}[A-Za-z])$/gm Hope it helps you.
+ 1
://If you want demo anx exploration
https://www.w3schools.com/js/js_validation.asp