I am learning regex and I started my example with below exercise.
A regex with
- Min one lower case.
- Min one number
and I tried below and it works perfectly and already tested in regex exe.
^[0-9]+[a-z]+$
The only problem is: I can't write chars first and number after chars. I meant when I tried with example a1, it got failed
Can you please suggest? How can I write char first and then number using same regex