How to use Contains Help

You need to use Regex function with the regular expression. E.g. change the if condition to:

System.Text.RegularExpressions.Regex.IsMatch(item.Subject.ToString, "CA([ -]*\d){10}")