Link to home
Start Free TrialLog in
Avatar of -Dman100-
-Dman100-Flag for United States of America

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.
ASKER CERTIFIED SOLUTION
Avatar of kaufmed
kaufmed
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
P.S.

I recommend this site for an extensive, yet easy-to-understand breakdown of regex:  www.regular-expressions.info .