change @"^" + "CN".ToLower() + @"\s*=\s*" to ^CN\s*=\s*
Attach a file by drag & drop or click to upload