I need to program my code to only let users input 3 asterisk or 3 alphabets. The 2 different characters can't be used together. How can I do that?
For instance, user can input *** or AAA
I looked up some stuff on here and all I got was regEx = \d{3}[a-zA-Z]{3}$/;
This did not work for me.