0

how could I form a username validation with javascript that consist (9 digit + a) or (9 digit +A)

thank you

17th Mar 2019, 3:41 PM
chu hei wong
chu hei wong - avatar
2 Antworten
+ 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.
17th Mar 2019, 3:53 PM
TheWh¡teCat 🇧🇬
TheWh¡teCat 🇧🇬 - avatar
+ 1
://If you want demo anx exploration https://www.w3schools.com/js/js_validation.asp
17th Mar 2019, 6:17 PM
Sudarshan Rai
Sudarshan Rai - avatar