I'm having problem to form an ereg function to check variable with the following criteria,
all characters are lower case ( only [a-z]),
numeric allow,
underscore allow,
no space,
minimum 6 characters,
maximum 20 characters
Is it possible to have all this in one ereg function?
Any help will be much appreciated!