I’m using a stored procedure to validate the input parameter. The input parameter must contain a-z and A-Z and 0-9.
for Example:
aS78fhE0 -> Correct
76AfbRZt -> Correct
76afbrzt -> Incorrect(doesn’t contain Upper Case A-Z)
asAfbRZt -> Incorrect(doesn’t contain Numeric 0-9)
4QA53RZJ -> Incorrect(doesn’t contain Lower Case a-z)
what Regular Expression that can validate the input parameter like above example,.?
Many Thanks,
Praditha
UPDATE
Others character except Alphanumeric are not allowed
I’m Using MySQL version 5
Further from Johns Post and subsequent comments:
The MySql you require would be
Add additional
If you only want Alphanumerics in the string