I have a database table with customer account numbers. Within the same table are test accounts that don\'t match the production formatting: say, \'A1111\' is production but
Could you replace the Regex.IsMatch with
where cust.AcctNum.StartsWith(ProductionMask)
Or Contains / EndsWith depending on your needs