EDIT: Grrr... edited regex due to new "clarification" :)
^[A-C][a-zA-Z0-9]{4}$
EDIT: To explain the above Regex in English...
^
and $
mean "From start to finish" (this ensures that the whole string must perfectly match)
[A-C]
means "Match either A
, B
, or C
"
[a-zA-Z0-9]{4}
means "Match 4 lower case letters, upper case letters, or numbers"
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…