Build, test, and debug regular expressions
This regex matches certificate codes that start with an optional sequence of uppercase Latin or Cyrillic letters (including І and digit 1), followed by optional hyphens, more letters/hyphens, a mandatory numeric part, and an optional Cyrillic suffix. It is useful for validating or extracting certificate numbers from documents, especially in Russian or Ukrainian contexts. The anchors and multiline flag ensure each line is fully matched.