I think it's simple but I am too dumb to write one. Can someone provide me with a regular expression that checks a given string for at least 1 letter and at least 1 number?
Also please give some explanation.
REs aren't that good for very complicated things like multiple orders but this simple one should be representable with:
[A-Za-z].*[0-9]|[0-9].*[A-Za-z]
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With