Build, test, and debug regular expressions
This regex matches a string that starts with either an uppercase 'C' or lowercase 'c', followed by exactly six digits. It is designed to validate a fixed-format Customer Reference Number where the numeric part is precisely six characters long. The multiline flags ensure it can validate multiple references in a given text block line by line.