I am struggling to get some JavaScript code together that would take in a value from a html input box and would return true if it contained both a letter (A-Z or a-z) and a digit (0-9) in any order.
So A1, a1, 1a, 1A, aAaAaA1, 111111a etc would all return true.
aa and 11 would return false because they only contain one group and not both.
Can anyone suggest how I could make this happen in JavaScript? I'm just stuck at how JavaScript would evaluate the value... everything else is working.
Thanks!