🏠 الرئيسية
المقاييس
📊 جميع المقاييس 🦖 ديناصور v1 🦖 ديناصور v2 ✅ تطبيقات قائمة المهام 🎨 صفحات حرة إبداعية 🎯 FSACB - العرض النهائي 🌍 مقياس الترجمة
النماذج
🏆 أفضل 10 نماذج 🆓 نماذج مجانية 📋 جميع النماذج ⚙️ كيلو كود
الموارد
💬 مكتبة الأوامر 📖 قاموس الذكاء الاصطناعي 🔗 روابط مفيدة
Advanced

Complex Regex Engineering

#regex #pattern-matching #validation

Construct a regular expression for a specific custom data validation rule.

Create a single regular expression that validates a specific custom ID format: The ID must start with 3 uppercase letters, followed by a hyphen, then 5 digits where the sum of the digits is even, followed by a special character from the set !@#$, and ending with either 'X' or 'Y'. Provide a breakdown explanation for every capture group and token used in the pattern.