-Dman100-
asked on
deciphering a regular expression
Sorry for the simple question, but I'm not familiar with regular expressions.
Does the following regex [0-9][A-Za-z][0-9][A-Za-z] mean the following:
The first character has to be a number 0-9 then the next character has to be a-z (uppercase or lowercase) then the next character has to be a number 0-9 and then finally the last character must be a-z (uppercase or lowercase)?
Is that correct?
Thank you.
Does the following regex [0-9][A-Za-z][0-9][A-Za-z]
The first character has to be a number 0-9 then the next character has to be a-z (uppercase or lowercase) then the next character has to be a number 0-9 and then finally the last character must be a-z (uppercase or lowercase)?
Is that correct?
Thank you.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I recommend this site for an extensive, yet easy-to-understand breakdown of regex: www.regular-expressions.info .