I want to write a regex which will match any word consisting of 8 characters and these characters should belong to the charset: [A-Za-z0-9].
However, they should consist of at least one character from each of the 3 charsets (uppercase, lowercase and digits).
This is the regex I am using:
^[a-zA-Z0-9]{8}$
however, this will match examples like:
09823983
language
mainMenu
but I want to match words like:
uXk3mHy9
how can I do this using a regex?