How to write regular expression to check weather a word has at least 2 capital letters, 2 numbers, is greater than 8 chars and ends with either the letters 'abc' or 'def'

no programming need just an expression. Thanks