using System.Text.RegularExpressions;
public static void Main()
var regex = @"^[a-zA-Z]{1,3}[0-9]{1,4}([rR]{1,2}|[bB][rR]|[cC][aA])?$";
var foo = "The quick brown fox jumped over the lazy dog";
var match = Regex.Match(foo, regex, RegexOptions.IgnoreCase);
Console.WriteLine(match.Success);