Quote:
Originally Posted by Dismounted
Whoops. I thought you wanted to allow "DEP" or "Civ" tacked onto the end of the string. Sorry, my bad.
This one should work.
Code:
/^(([0-9][A-Z][0-9][X13579][0-9])|(DEP|Civ))$/
|
My fault for not being so clear... is there any way that vB isn't translating it right? Regex Coach shows that works but vB still allows for lower case/upper case mixtures for DEP and Civ...
It doesn't however allow lower case like 2e2x1 so that is working right, but it allows dep and cIV