I want to restrict the user to enter in textbox only string followed by number only for e.g
AA1->true
AA1A->False
AA12->True
AB12AA14AB->false
12AA->false
ABC12->false
AA->false
So please let me know how can I add validation for above condition/cases using javascript.
[A-Z]+[0-9]+for exampleABC12is a alphabetical characters followed by numeric characters, shouldn't it betrueas well?