[A-Z][0-9]{11}
string input = "R12036580479"; if(Regex.IsMatch(input, @"^[A-Z]\d{11}$")) { Console.Write("It's a match"); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)