RegEx : [0−9]{3}[0−9a−zA−Z]{3} [0−9a−zA−Z]{2} [0−9] //Regular expression, Here there is range of valid chars in [] and value inside {} denotes the number of charactes that should comply with rule. [0-9]{3} means that first three charcters of string should be a number in range 0 to 9. [0−9a−zA−Z]{3} means that next 3 chars of string can be anything in range 0-9 or a-z ot A-Z.
120 aBZ K8 7 - Valid AX0 aBZ K8 7 - Not Valid 120 @1k0 _1 _ - Not valid 120 1BZ 18 7 - Valid
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)